Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimple.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimple,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimple") translateModel(BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimple,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimple") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8093/0.8093, allocations: 141.8 MB / 149.3 MB, free: 9.227 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001385/0.001385, allocations: 180.9 kB / 182.2 MB, free: 9.441 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.443/1.443, allocations: 221.5 MB / 436.4 MB, free: 13.32 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001012/0.001012, allocations: 80.12 kB / 0.5074 GB, free: 10.17 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001882/0.001881, allocations: 280.8 kB / 0.5889 GB, free: 54.66 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.696e-05/1.697e-05, allocations: 4 kB / 0.6765 GB, free: 12.83 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3859/0.3859, allocations: 82.77 MB / 0.7574 GB, free: 32.01 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1492/0.5352, allocations: 122.5 MB / 0.877 GB, free: 5.379 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001977/0.5355, allocations: 83.83 kB / 0.877 GB, free: 5.301 MB / 0.5417 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Interfaces/RadiationPort.mo:2:1-11:18:writable] Warning: Connector .BuildingSystems.Interfaces.RadiationPort is not balanced: The number of potential variables (5) is not equal to the number of flow variables (0). Notification: Performance of FrontEnd - DAE generated: time 0.06089/0.5964, allocations: 19.5 MB / 0.8961 GB, free: 1.68 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.532e-06/0.5964, allocations: 0 / 0.8961 GB, free: 1.68 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 5.012e-05/0.5965, allocations: 12 kB / 0.8961 GB, free: 1.668 MB / 0.5573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 117 * Number of variables: 117 Notification: Performance of Generate backend data structure: time 0.001882/0.5984, allocations: 0.8516 MB / 0.8969 GB, free: 0.7695 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.977e-05/0.5984, allocations: 8.031 kB / 0.8969 GB, free: 0.7617 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003173/0.6016, allocations: 0.5494 MB / 0.8975 GB, free: 216 kB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3264/0.928, allocations: 436 kB / 0.8979 GB, free: 123.7 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000145/0.9282, allocations: 107.1 kB / 0.898 GB, free: 123.6 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001108/0.9283, allocations: 26.41 kB / 0.898 GB, free: 123.6 MB / 0.5573 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001276/0.9296, allocations: 0.6644 MB / 0.8987 GB, free: 123.6 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00108/0.9307, allocations: 0.5852 MB / 0.8992 GB, free: 123.6 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.588e-05/0.9308, allocations: 3.312 kB / 0.8992 GB, free: 123.6 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.498e-05/0.9308, allocations: 2.812 kB / 0.8992 GB, free: 123.6 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.669e-05/0.9308, allocations: 10.97 kB / 0.8992 GB, free: 123.6 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004209/0.9351, allocations: 1.928 MB / 0.9011 GB, free: 123.3 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002036/0.9371, allocations: 0.7824 MB / 0.9019 GB, free: 123.2 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000545/0.9377, allocations: 311.3 kB / 0.9022 GB, free: 123.2 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001576/0.9393, allocations: 1.763 MB / 0.9039 GB, free: 121.2 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007167/0.94, allocations: 392.1 kB / 0.9043 GB, free: 121.2 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=55): time 2.695e-06/0.94, allocations: 4.5 kB / 0.9043 GB, free: 121.2 MB / 0.5573 GB Notification: Performance of matching and sorting (n=55): time 0.01956/0.9596, allocations: 2.623 MB / 0.9068 GB, free: 121.1 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.966e-05/0.9597, allocations: 138.9 kB / 0.907 GB, free: 121 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000543/0.9602, allocations: 386.7 kB / 0.9073 GB, free: 120.8 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 5.845e-05/0.9603, allocations: 25.7 kB / 0.9074 GB, free: 120.8 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001883/0.9605, allocations: 265.3 kB / 0.9076 GB, free: 120.7 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001548/0.9606, allocations: 177.6 kB / 0.9078 GB, free: 120.6 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.773e-05/0.9607, allocations: 0.5938 kB / 0.9078 GB, free: 120.6 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 9.572e-05/0.9608, allocations: 361.5 kB / 0.9081 GB, free: 120.3 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005367/0.9613, allocations: 270 kB / 0.9084 GB, free: 120.3 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006068/0.962, allocations: 362.4 kB / 0.9087 GB, free: 120.2 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01792/0.9799, allocations: 2.288 MB / 0.911 GB, free: 119.9 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.648e-06/0.9799, allocations: 3 kB / 0.911 GB, free: 119.9 MB / 0.5573 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.0185/0.9984, allocations: 2.715 MB / 0.9136 GB, free: 119.4 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.135e-05/0.9985, allocations: 11.44 kB / 0.9136 GB, free: 119.3 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.596e-06/0.9985, allocations: 3.719 kB / 0.9136 GB, free: 119.3 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.915e-05/0.9985, allocations: 3.5 kB / 0.9136 GB, free: 119.3 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009708/0.9995, allocations: 205.2 kB / 0.9138 GB, free: 119.3 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.157e-06/0.9995, allocations: 7.156 kB / 0.9139 GB, free: 119.3 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009015/1, allocations: 138.3 kB / 0.914 GB, free: 119.3 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.151e-05/1.001, allocations: 26.81 kB / 0.914 GB, free: 119.3 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,$PRE.weatherData.weatherData.conTim.tNext,weatherData.weatherData.conTim.tNext,radiation.outsidePolarCircle) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (68): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000153/1.001, allocations: 115.6 kB / 0.9141 GB, free: 119.2 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.775e-05/1.001, allocations: 50.41 kB / 0.9142 GB, free: 119.2 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01649/1.017, allocations: 2.765 MB / 0.9169 GB, free: 118.7 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.809e-06/1.017, allocations: 7.375 kB / 0.9169 GB, free: 118.7 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.256e-06/1.017, allocations: 0 / 0.9169 GB, free: 118.7 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.047e-06/1.017, allocations: 3.516 kB / 0.9169 GB, free: 118.7 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01698/1.034, allocations: 3.517 MB / 0.9203 GB, free: 117.7 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.821e-06/1.034, allocations: 4 kB / 0.9203 GB, free: 117.7 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009611/1.035, allocations: 196.3 kB / 0.9205 GB, free: 117.7 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.256e-06/1.035, allocations: 3.625 kB / 0.9205 GB, free: 117.7 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.407e-05/1.035, allocations: 8.75 kB / 0.9205 GB, free: 117.7 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.149e-06/1.035, allocations: 6.969 kB / 0.9205 GB, free: 117.7 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/1.035, allocations: 0 / 0.9205 GB, free: 117.7 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01589/1.051, allocations: 2.735 MB / 0.9232 GB, free: 116.6 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003019/1.052, allocations: 233.6 kB / 0.9234 GB, free: 116.4 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001061/1.052, allocations: 0 / 0.9234 GB, free: 116.4 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007885/1.053, allocations: 92.7 kB / 0.9235 GB, free: 116.3 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.88e-05/1.053, allocations: 46.89 kB / 0.9235 GB, free: 116.3 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.752e-05/1.053, allocations: 25.14 kB / 0.9236 GB, free: 116.3 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0003079/1.053, allocations: 308.6 kB / 0.9239 GB, free: 116 MB / 0.5573 GB Notification: Performance of sort global known variables: time 4.41e-07/1.053, allocations: 4 kB / 0.9239 GB, free: 116 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0008685/1.054, allocations: 253.5 kB / 0.9241 GB, free: 115.8 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,weatherData.weatherData.conTim.tNext) * Number of discrete states: 1 (weatherData.weatherData.conTim.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (67): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001082/1.055, allocations: 0.4889 MB / 0.9246 GB, free: 115.5 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0009448/1.056, allocations: 0.6547 MB / 0.9252 GB, free: 114.9 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/1.056, allocations: 0 / 0.9252 GB, free: 114.9 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0004288/1.056, allocations: 363.1 kB / 0.9256 GB, free: 114.6 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003754/1.057, allocations: 37.75 kB / 0.9256 GB, free: 114.6 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001356/1.058, allocations: 0.8093 MB / 0.9264 GB, free: 113.8 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002506/1.058, allocations: 0.8914 MB / 0.9273 GB, free: 113 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0007278/1.059, allocations: 149.8 kB / 0.9274 GB, free: 112.9 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002681/1.06, allocations: 69.91 kB / 0.9275 GB, free: 112.8 MB / 0.5573 GB Notification: Performance of SimCode: time 3.71e-07/1.06, allocations: 0 / 0.9275 GB, free: 112.8 MB / 0.5573 GB Notification: Performance of Templates: time 0.01233/1.072, allocations: 8.355 MB / 0.9356 GB, free: 105.8 MB / 0.5573 GB make -j1 -f BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimple.makefile (rm -f BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimple.pipe ; mkfifo BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimple.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimple.pipe >> ../files/BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimple.sim & ./BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimple -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleSimple.pipe 2>&1)