Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160629.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.01622/0.01622, 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.0007372/0.0007372, allocations: 82.2 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.0009202/0.0009202, allocations: 167 kB / 33.02 MB, free: 3.66 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.8456/0.8456, allocations: 177.2 MB / 214.6 MB, free: 15.3 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.768/1.768, allocations: 389 MB / 0.6458 GB, free: 8.527 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.006884/0.006884, allocations: 1.967 MB / 0.8278 GB, free: 27.86 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_20160629,tolerance=1e-08,outputFormat="empty",numberOfIntervals=1440,variableFilter="",fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160629") translateModel(PhotoVoltaics_TGM.TGM_Trina_Measurement_20160629,tolerance=1e-08,outputFormat="empty",numberOfIntervals=1440,variableFilter="",fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160629") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 1.202 GB, free: 5.938 MB / 1.089 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.259e-05/2.429e-05, allocations: 8.672 kB / 1.202 GB, free: 5.93 MB / 1.089 GB Notification: Performance of NFInst.instantiate(PhotoVoltaics_TGM.TGM_Trina_Measurement_20160629): time 0.005316/0.00534, allocations: 6.168 MB / 1.208 GB, free: 15.71 MB / 1.104 GB Notification: Performance of NFInst.instExpressions: time 0.00425/0.00959, allocations: 3.983 MB / 1.212 GB, free: 11.72 MB / 1.104 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004467/0.01004, allocations: 19.94 kB / 1.212 GB, free: 11.7 MB / 1.104 GB Notification: Performance of NFTyping.typeComponents: time 0.001551/0.01159, allocations: 1.123 MB / 1.213 GB, free: 10.57 MB / 1.104 GB Notification: Performance of NFTyping.typeBindings: time 0.001152/0.01274, allocations: 0.7528 MB / 1.214 GB, free: 9.816 MB / 1.104 GB Notification: Performance of NFTyping.typeClassSections: time 0.001073/0.01381, allocations: 0.526 MB / 1.214 GB, free: 9.293 MB / 1.104 GB Notification: Performance of NFFlatten.flatten: time 0.001116/0.01493, allocations: 1.452 MB / 1.216 GB, free: 7.836 MB / 1.104 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008844/0.01581, allocations: 0.9225 MB / 1.216 GB, free: 6.887 MB / 1.104 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000645/0.01646, allocations: 0.8341 MB / 1.217 GB, free: 6.051 MB / 1.104 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004828/0.01694, allocations: 0.5375 MB / 1.218 GB, free: 5.512 MB / 1.104 GB Notification: Performance of NFPackage.collectConstants: time 0.0001128/0.01705, allocations: 144 kB / 1.218 GB, free: 5.371 MB / 1.104 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006022/0.01765, allocations: 471.3 kB / 1.218 GB, free: 4.91 MB / 1.104 GB Notification: Performance of NFScalarize.scalarize: time 0.0001795/0.01783, allocations: 318.8 kB / 1.219 GB, free: 4.598 MB / 1.104 GB Notification: Performance of NFVerifyModel.verify: time 0.0002934/0.01813, allocations: 454.8 kB / 1.219 GB, free: 4.152 MB / 1.104 GB Notification: Performance of NFConvertDAE.convert: time 0.001499/0.01963, allocations: 1.912 MB / 1.221 GB, free: 2.234 MB / 1.104 GB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.01963, allocations: 4 kB / 1.221 GB, free: 2.23 MB / 1.104 GB Notification: Performance of FrontEnd: time 1.603e-06/0.01963, allocations: 3.938 kB / 1.221 GB, free: 2.227 MB / 1.104 GB Notification: Performance of Transformations before backend: time 1.256e-05/0.01964, allocations: 0 / 1.221 GB, free: 2.227 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.002354/0.022, allocations: 1.783 MB / 1.223 GB, free: 404 kB / 1.104 GB Notification: Performance of prepare preOptimizeDAE: time 3.612e-05/0.02203, allocations: 8.031 kB / 1.223 GB, free: 396 kB / 1.104 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001073/0.02311, allocations: 375.8 kB / 1.223 GB, free: 20 kB / 1.104 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.4102/0.4333, allocations: 0.734 MB / 1.224 GB, free: 128.7 MB / 1.104 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.386e-05/0.4334, allocations: 84.14 kB / 1.224 GB, free: 128.7 MB / 1.104 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001564/0.4336, allocations: 104.5 kB / 1.224 GB, free: 128.7 MB / 1.104 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001443/0.435, allocations: 1.269 MB / 1.225 GB, free: 128.2 MB / 1.104 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.566e-05/0.435, allocations: 4.688 kB / 1.225 GB, free: 128.2 MB / 1.104 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.28e-05/0.4351, allocations: 49.44 kB / 1.225 GB, free: 128.2 MB / 1.104 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.217e-05/0.4351, allocations: 24.03 kB / 1.225 GB, free: 128.2 MB / 1.104 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001333/0.4364, allocations: 1.172 MB / 1.226 GB, free: 127.8 MB / 1.104 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003556/0.44, allocations: 3.629 MB / 1.23 GB, free: 125.5 MB / 1.104 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001271/0.4413, allocations: 0.9282 MB / 1.231 GB, free: 125.1 MB / 1.104 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003719/0.4416, allocations: 357.4 kB / 1.231 GB, free: 124.9 MB / 1.104 GB Notification: Performance of preOpt evalFunc (simulation): time 5.669e-05/0.4417, allocations: 23.83 kB / 1.231 GB, free: 124.9 MB / 1.104 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004743/0.4422, allocations: 0.5254 MB / 1.232 GB, free: 124.6 MB / 1.104 GB Notification: Performance of pre-optimization done (n=69): time 2.043e-06/0.4422, allocations: 0 / 1.232 GB, free: 124.6 MB / 1.104 GB Notification: Performance of matching and sorting (n=69): time 0.002586/0.4448, allocations: 1.618 MB / 1.233 GB, free: 124 MB / 1.104 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.059e-05/0.4448, allocations: 223.1 kB / 1.234 GB, free: 123.7 MB / 1.104 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005047/0.4453, allocations: 0.7096 MB / 1.234 GB, free: 123.4 MB / 1.104 GB Notification: Performance of collectPreVariables (initialization): time 3.664e-05/0.4454, allocations: 42.33 kB / 1.234 GB, free: 123.4 MB / 1.104 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001808/0.4455, allocations: 0.5441 MB / 1.235 GB, free: 122.9 MB / 1.104 GB Notification: Performance of collectInitialBindings (initialization): time 9.098e-05/0.4456, allocations: 242.7 kB / 1.235 GB, free: 122.8 MB / 1.104 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001688/0.4458, allocations: 192.5 kB / 1.235 GB, free: 122.7 MB / 1.104 GB Notification: Performance of setup shared object (initialization): time 6.555e-05/0.4459, allocations: 386.7 kB / 1.236 GB, free: 122.3 MB / 1.104 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003681/0.4462, allocations: 366.5 kB / 1.236 GB, free: 122.2 MB / 1.104 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004286/0.4467, allocations: 0.623 MB / 1.237 GB, free: 121.7 MB / 1.104 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007899/0.4474, allocations: 0.9578 MB / 1.237 GB, free: 121 MB / 1.104 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.411e-06/0.4475, allocations: 2.719 kB / 1.237 GB, free: 121 MB / 1.104 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.00132/0.4488, allocations: 1.194 MB / 1.239 GB, free: 120.5 MB / 1.104 GB Notification: Performance of prepare postOptimizeDAE: time 3.953e-05/0.4488, allocations: 65.66 kB / 1.239 GB, free: 120.4 MB / 1.104 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.376e-05/0.4488, allocations: 7.781 kB / 1.239 GB, free: 120.4 MB / 1.104 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000265/0.4491, allocations: 92.8 kB / 1.239 GB, free: 120.4 MB / 1.104 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000512/0.4496, allocations: 220.8 kB / 1.239 GB, free: 120.4 MB / 1.104 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008361/0.4504, allocations: 1.455 MB / 1.24 GB, free: 119 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004181/0.4509, allocations: 105.6 kB / 1.241 GB, free: 118.9 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.016e-05/0.4509, allocations: 46.88 kB / 1.241 GB, free: 118.9 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.0003452/0.4513, allocations: 353.3 kB / 1.241 GB, free: 118.6 MB / 1.104 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.563e-05/0.4514, allocations: 89.39 kB / 1.241 GB, free: 118.6 MB / 1.104 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001201/0.4526, allocations: 1.159 MB / 1.242 GB, free: 118.1 MB / 1.104 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/0.4526, allocations: 7.234 kB / 1.242 GB, free: 118.1 MB / 1.104 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.976e-06/0.4526, allocations: 1.062 kB / 1.242 GB, free: 118.1 MB / 1.104 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.643e-06/0.4526, allocations: 3.375 kB / 1.242 GB, free: 118.1 MB / 1.104 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002053/0.4546, allocations: 1.968 MB / 1.244 GB, free: 117.1 MB / 1.104 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.247e-06/0.4546, allocations: 3.031 kB / 1.244 GB, free: 117.1 MB / 1.104 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000219/0.4548, allocations: 107 kB / 1.244 GB, free: 117.1 MB / 1.104 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004334/0.4553, allocations: 368.3 kB / 1.245 GB, free: 116.9 MB / 1.104 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.68e-05/0.4553, allocations: 25.78 kB / 1.245 GB, free: 116.9 MB / 1.104 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000596/0.4559, allocations: 0.9729 MB / 1.246 GB, free: 116.2 MB / 1.104 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.4559, allocations: 5.688 kB / 1.246 GB, free: 116.2 MB / 1.104 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001632/0.4575, allocations: 1.678 MB / 1.247 GB, free: 115.3 MB / 1.104 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002253/0.4578, allocations: 159.7 kB / 1.247 GB, free: 115.2 MB / 1.104 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.544e-05/0.4579, allocations: 26.2 kB / 1.247 GB, free: 115.2 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002639/0.4581, allocations: 45.5 kB / 1.247 GB, free: 115.2 MB / 1.104 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.174e-05/0.4582, allocations: 51.55 kB / 1.247 GB, free: 115.2 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.273e-05/0.4582, allocations: 30.52 kB / 1.247 GB, free: 115.2 MB / 1.104 GB Notification: Performance of sorting global known variables: time 0.0003687/0.4586, allocations: 485.4 kB / 1.248 GB, free: 115 MB / 1.104 GB Notification: Performance of sort global known variables: time 1.71e-07/0.4586, allocations: 0 / 1.248 GB, free: 115 MB / 1.104 GB Notification: Performance of remove unused functions: time 0.0006566/0.4593, allocations: 352.8 kB / 1.248 GB, free: 114.9 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.00113/0.4604, allocations: 0.7633 MB / 1.249 GB, free: 114.7 MB / 1.104 GB Notification: Performance of simCode: created initialization part: time 0.001068/0.4615, allocations: 1.104 MB / 1.25 GB, free: 114.1 MB / 1.104 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.4615, allocations: 4.062 kB / 1.25 GB, free: 114.1 MB / 1.104 GB Notification: Performance of simCode: created simulation system equations: time 0.0004516/0.4619, allocations: 0.5134 MB / 1.251 GB, free: 113.8 MB / 1.104 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004743/0.4624, allocations: 148.3 kB / 1.251 GB, free: 113.7 MB / 1.104 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001853/0.4642, allocations: 1.848 MB / 1.253 GB, free: 112.7 MB / 1.104 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002291/0.4645, allocations: 446.9 kB / 1.253 GB, free: 112.6 MB / 1.104 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001694/0.4646, allocations: 88.73 kB / 1.253 GB, free: 112.5 MB / 1.104 GB Notification: Performance of SimCode: time 8.12e-07/0.4646, allocations: 0 / 1.253 GB, free: 112.5 MB / 1.104 GB Notification: Performance of Templates: time 0.01239/0.477, allocations: 18.5 MB / 1.271 GB, free: 110.6 MB / 1.104 GB " [Timeout remaining time 660] make -j1 -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160629.makefile [Timeout 660] (rm -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160629.pipe ; mkfifo PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160629.pipe ; head -c 1048576 < PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160629.pipe >> ../files/PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160629.sim & ./PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160629 -abortSlowSimulation -alarm=480 -lv LOG_STATS > PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160629.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.457001749426126] Failed to read output from testmodel.py, exit status != 0: 0.48249045200645924 0.488997421 0.46794892099999996 Calling exit ...