Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160704.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.1.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.1.0/package.mo): time 0.01655/0.01655, allocations: 4.208 MB / 24.07 MB, free: 472 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007204/0.0007204, allocations: 80.3 kB / 28.5 MB, free: 1.977 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008352/0.0008352, allocations: 166.9 kB / 33.02 MB, free: 3.664 MB / 24.77 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8352/0.8352, allocations: 177.1 MB / 214.6 MB, free: 15.21 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.736/1.736, allocations: 389 MB / 0.6458 GB, free: 8.645 MB / 0.6042 GB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics_TGM 2.1.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics_TGM 2.1.0/package.mo): time 0.00661/0.00661, allocations: 1.977 MB / 0.8278 GB, free: 27.7 MB / 0.7605 GB " [Timeout remaining time 180] Using package PhotoVoltaics_TGM with version 2.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics_TGM 2.1.0/package.mo) Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Using package PhotoVoltaics with version 2.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.1.0/package.mo) Running command: translateModel(PhotoVoltaics_TGM.TGM_Trina_Measurement_20160704,tolerance=1e-08,outputFormat="empty",numberOfIntervals=1440,variableFilter="",fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160704") translateModel(PhotoVoltaics_TGM.TGM_Trina_Measurement_20160704,tolerance=1e-08,outputFormat="empty",numberOfIntervals=1440,variableFilter="",fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160704") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.353e-06/1.353e-06, allocations: 0 / 1.202 GB, free: 6.055 MB / 1.089 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.85e-05/1.985e-05, allocations: 6.219 kB / 1.202 GB, free: 6.047 MB / 1.089 GB Notification: Performance of NFInst.instantiate(PhotoVoltaics_TGM.TGM_Trina_Measurement_20160704): time 0.005337/0.005356, allocations: 6.167 MB / 1.208 GB, free: 15.84 MB / 1.104 GB Notification: Performance of NFInst.instExpressions: time 0.003563/0.008919, allocations: 3.979 MB / 1.212 GB, free: 11.84 MB / 1.104 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003037/0.009223, allocations: 19.94 kB / 1.212 GB, free: 11.82 MB / 1.104 GB Notification: Performance of NFTyping.typeComponents: time 0.001366/0.01059, allocations: 1.131 MB / 1.213 GB, free: 10.69 MB / 1.104 GB Notification: Performance of NFTyping.typeBindings: time 0.001161/0.01175, allocations: 0.7563 MB / 1.214 GB, free: 9.93 MB / 1.104 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008165/0.01257, allocations: 0.5192 MB / 1.214 GB, free: 9.41 MB / 1.104 GB Notification: Performance of NFFlatten.flatten: time 0.0008538/0.01342, allocations: 1.456 MB / 1.216 GB, free: 7.949 MB / 1.104 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008073/0.01423, allocations: 0.9225 MB / 1.216 GB, free: 7 MB / 1.104 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005792/0.01481, allocations: 0.8341 MB / 1.217 GB, free: 6.164 MB / 1.104 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004527/0.01526, allocations: 0.522 MB / 1.218 GB, free: 5.641 MB / 1.104 GB Notification: Performance of NFPackage.collectConstants: time 0.0001149/0.01537, allocations: 148 kB / 1.218 GB, free: 5.496 MB / 1.104 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004304/0.0158, allocations: 479.2 kB / 1.218 GB, free: 5.027 MB / 1.104 GB Notification: Performance of NFScalarize.scalarize: time 0.0001854/0.01599, allocations: 322.8 kB / 1.219 GB, free: 4.711 MB / 1.104 GB Notification: Performance of NFVerifyModel.verify: time 0.0002826/0.01627, allocations: 450.8 kB / 1.219 GB, free: 4.27 MB / 1.104 GB Notification: Performance of NFConvertDAE.convert: time 0.001339/0.01761, allocations: 1.92 MB / 1.221 GB, free: 2.344 MB / 1.104 GB Notification: Performance of FrontEnd - DAE generated: time 2.124e-06/0.01761, allocations: 0 / 1.221 GB, free: 2.344 MB / 1.104 GB Notification: Performance of FrontEnd: time 1.132e-06/0.01761, allocations: 0 / 1.221 GB, free: 2.344 MB / 1.104 GB Notification: Performance of Transformations before backend: time 1.069e-05/0.01763, allocations: 0 / 1.221 GB, free: 2.344 MB / 1.104 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 269 * Number of variables: 269 Notification: Performance of Generate backend data structure: time 0.002384/0.02001, allocations: 1.779 MB / 1.223 GB, free: 0.5156 MB / 1.104 GB Notification: Performance of prepare preOptimizeDAE: time 2.944e-05/0.02004, allocations: 8.031 kB / 1.223 GB, free: 0.5078 MB / 1.104 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001066/0.0211, allocations: 379.8 kB / 1.223 GB, free: 140 kB / 1.104 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.4107/0.4318, allocations: 0.74 MB / 1.224 GB, free: 128.8 MB / 1.104 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.338e-05/0.4319, allocations: 82.92 kB / 1.224 GB, free: 128.8 MB / 1.104 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001217/0.432, allocations: 105.1 kB / 1.224 GB, free: 128.8 MB / 1.104 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001416/0.4334, allocations: 1.268 MB / 1.225 GB, free: 128.5 MB / 1.104 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.57e-05/0.4334, allocations: 8.156 kB / 1.225 GB, free: 128.5 MB / 1.104 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.18e-05/0.4335, allocations: 45.58 kB / 1.225 GB, free: 128.4 MB / 1.104 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.243e-05/0.4335, allocations: 24.03 kB / 1.225 GB, free: 128.4 MB / 1.104 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001311/0.4348, allocations: 1.17 MB / 1.226 GB, free: 128 MB / 1.104 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003395/0.4382, allocations: 3.633 MB / 1.23 GB, free: 125.7 MB / 1.104 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001248/0.4394, allocations: 0.9313 MB / 1.231 GB, free: 125.3 MB / 1.104 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003571/0.4398, allocations: 354.3 kB / 1.231 GB, free: 125.2 MB / 1.104 GB Notification: Performance of preOpt evalFunc (simulation): time 5.224e-05/0.4399, allocations: 21.59 kB / 1.231 GB, free: 125.1 MB / 1.104 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004544/0.4403, allocations: 0.525 MB / 1.232 GB, free: 124.8 MB / 1.104 GB Notification: Performance of pre-optimization done (n=69): time 2.184e-06/0.4403, allocations: 0 / 1.232 GB, free: 124.8 MB / 1.104 GB Notification: Performance of matching and sorting (n=69): time 0.002513/0.4428, allocations: 1.617 MB / 1.233 GB, free: 124.2 MB / 1.104 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.158e-05/0.4429, allocations: 226.6 kB / 1.234 GB, free: 124 MB / 1.104 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004582/0.4433, allocations: 0.7061 MB / 1.234 GB, free: 123.7 MB / 1.104 GB Notification: Performance of collectPreVariables (initialization): time 3.177e-05/0.4434, allocations: 43.58 kB / 1.234 GB, free: 123.6 MB / 1.104 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001543/0.4435, allocations: 0.5417 MB / 1.235 GB, free: 123.2 MB / 1.104 GB Notification: Performance of collectInitialBindings (initialization): time 8.889e-05/0.4436, allocations: 242.6 kB / 1.235 GB, free: 123 MB / 1.104 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001617/0.4438, allocations: 191.2 kB / 1.235 GB, free: 122.9 MB / 1.104 GB Notification: Performance of setup shared object (initialization): time 6.288e-05/0.4438, allocations: 389.9 kB / 1.236 GB, free: 122.6 MB / 1.104 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003614/0.4442, allocations: 370.9 kB / 1.236 GB, free: 122.4 MB / 1.104 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004225/0.4446, allocations: 0.621 MB / 1.237 GB, free: 121.9 MB / 1.104 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007973/0.4454, allocations: 0.9589 MB / 1.237 GB, free: 121.2 MB / 1.104 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.619e-06/0.4454, allocations: 6.031 kB / 1.237 GB, free: 121.2 MB / 1.104 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.001274/0.4467, allocations: 1.19 MB / 1.239 GB, free: 120.7 MB / 1.104 GB Notification: Performance of prepare postOptimizeDAE: time 3.692e-05/0.4467, allocations: 69.31 kB / 1.239 GB, free: 120.6 MB / 1.104 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.197e-05/0.4467, allocations: 10.38 kB / 1.239 GB, free: 120.6 MB / 1.104 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002593/0.447, allocations: 87 kB / 1.239 GB, free: 120.6 MB / 1.104 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000479/0.4475, allocations: 221.5 kB / 1.239 GB, free: 120.6 MB / 1.104 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000764/0.4482, allocations: 1.451 MB / 1.24 GB, free: 119.2 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003526/0.4486, allocations: 108.3 kB / 1.241 GB, free: 119.2 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.897e-05/0.4487, allocations: 47.69 kB / 1.241 GB, free: 119.2 MB / 1.104 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * Number of states: 0 () * Number of discrete variables: 21 (writeCSV.firstTrigger,$PRE.writeCSV.firstTrigger,mpTracker.signv,$PRE.mpTracker.signv,mpTracker.firstTrigger,$PRE.mpTracker.firstTrigger,mpTracker.counter,$PRE.mpTracker.counter,$PRE.combiTimeTable.nextTimeEvent,$whenCondition3,writeCSV.sampleTrigger,$whenCondition2,mpTracker.sampleTrigger,$whenCondition1,combiTimeTable.nextTimeEventScaled,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEvent,mpTracker.vRef,$PRE.mpTracker.vRef,integrator.local_reset,converter.integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (118): * Single equations (assignments): 115 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {2} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003059/0.449, allocations: 351.7 kB / 1.241 GB, free: 118.9 MB / 1.104 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.557e-05/0.4491, allocations: 86.14 kB / 1.241 GB, free: 118.8 MB / 1.104 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001158/0.4502, allocations: 1.157 MB / 1.242 GB, free: 118.3 MB / 1.104 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.69e-06/0.4502, allocations: 6.781 kB / 1.242 GB, free: 118.3 MB / 1.104 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.154e-06/0.4502, allocations: 3.094 kB / 1.242 GB, free: 118.3 MB / 1.104 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.525e-06/0.4502, allocations: 4.125 kB / 1.242 GB, free: 118.3 MB / 1.104 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001937/0.4522, allocations: 1.97 MB / 1.244 GB, free: 117.3 MB / 1.104 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.4522, allocations: 0 / 1.244 GB, free: 117.3 MB / 1.104 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002144/0.4524, allocations: 111.6 kB / 1.244 GB, free: 117.3 MB / 1.104 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004215/0.4528, allocations: 369.1 kB / 1.245 GB, free: 117.2 MB / 1.104 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.456e-05/0.4528, allocations: 27.2 kB / 1.245 GB, free: 117.2 MB / 1.104 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005915/0.4534, allocations: 0.9666 MB / 1.245 GB, free: 116.4 MB / 1.104 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.4534, allocations: 11.88 kB / 1.246 GB, free: 116.4 MB / 1.104 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001626/0.4551, allocations: 1.664 MB / 1.247 GB, free: 115.6 MB / 1.104 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001989/0.4553, allocations: 163.2 kB / 1.247 GB, free: 115.5 MB / 1.104 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.271e-05/0.4553, allocations: 34.3 kB / 1.247 GB, free: 115.4 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002554/0.4556, allocations: 41.62 kB / 1.247 GB, free: 115.4 MB / 1.104 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.454e-05/0.4557, allocations: 52.16 kB / 1.247 GB, free: 115.4 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.412e-05/0.4557, allocations: 31.64 kB / 1.247 GB, free: 115.4 MB / 1.104 GB Notification: Performance of sorting global known variables: time 0.0003366/0.456, allocations: 485.4 kB / 1.248 GB, free: 115.2 MB / 1.104 GB Notification: Performance of sort global known variables: time 4e-08/0.456, allocations: 3.188 kB / 1.248 GB, free: 115.2 MB / 1.104 GB Notification: Performance of remove unused functions: time 0.0005776/0.4566, allocations: 349.7 kB / 1.248 GB, free: 115.1 MB / 1.104 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (voltageSource.pin_p.reference.gamma,converter.integrator.y,integrator.y) * Number of discrete variables: 12 ($whenCondition3,$whenCondition1,$whenCondition2,mpTracker.firstTrigger,mpTracker.sampleTrigger,mpTracker.counter,mpTracker.signv,mpTracker.vRef,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled,writeCSV.sampleTrigger,writeCSV.firstTrigger) * Number of discrete states: 12 (combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled,mpTracker.signv,mpTracker.vRef,mpTracker.firstTrigger,mpTracker.counter,$whenCondition1,mpTracker.sampleTrigger,mpTracker.power,writeCSV.firstTrigger,$whenCondition2,writeCSV.sampleTrigger) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (69): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001094/0.4577, allocations: 0.7585 MB / 1.249 GB, free: 114.9 MB / 1.104 GB Notification: Performance of simCode: created initialization part: time 0.00103/0.4587, allocations: 1.107 MB / 1.25 GB, free: 114.3 MB / 1.104 GB Notification: Performance of simCode: created event and clocks part: time 1.714e-06/0.4587, allocations: 0 / 1.25 GB, free: 114.3 MB / 1.104 GB Notification: Performance of simCode: created simulation system equations: time 0.0004541/0.4592, allocations: 0.5196 MB / 1.251 GB, free: 114 MB / 1.104 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004677/0.4597, allocations: 141.1 kB / 1.251 GB, free: 114 MB / 1.104 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001817/0.4615, allocations: 1.851 MB / 1.253 GB, free: 112.9 MB / 1.104 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002379/0.4617, allocations: 445.6 kB / 1.253 GB, free: 112.8 MB / 1.104 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001689/0.4619, allocations: 95.69 kB / 1.253 GB, free: 112.8 MB / 1.104 GB Notification: Performance of SimCode: time 4.91e-07/0.4619, allocations: 3.938 kB / 1.253 GB, free: 112.8 MB / 1.104 GB Notification: Performance of Templates: time 0.01151/0.4734, allocations: 18.49 MB / 1.271 GB, free: 110.8 MB / 1.104 GB " [Timeout remaining time 660] make -j1 -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160704.makefile [Timeout 660] (rm -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160704.pipe ; mkfifo PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160704.pipe ; head -c 1048576 < PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160704.pipe >> ../files/PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160704.sim & ./PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160704 -abortSlowSimulation -alarm=480 -lv LOG_STATS > PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160704.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.25585310999304] Failed to read output from testmodel.py, exit status != 0: 0.47890952602028847 0.48513239500000005 0.466152294 Calling exit ...