Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160808.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.0171/0.0171, allocations: 4.212 MB / 24.07 MB, free: 460 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.0007738/0.0007738, allocations: 83.75 kB / 28.49 MB, free: 2.133 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.001377/0.001377, allocations: 163.6 kB / 33.02 MB, free: 3.812 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.8021/0.8021, allocations: 177.2 MB / 214.6 MB, free: 15.31 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.734/1.734, allocations: 389 MB / 0.6458 GB, free: 8.496 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.006926/0.006926, allocations: 1.97 MB / 0.8278 GB, free: 27.84 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_20160808,tolerance=1e-08,outputFormat="empty",numberOfIntervals=1440,variableFilter="",fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160808") translateModel(PhotoVoltaics_TGM.TGM_Trina_Measurement_20160808,tolerance=1e-08,outputFormat="empty",numberOfIntervals=1440,variableFilter="",fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160808") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.182e-06/1.182e-06, allocations: 0 / 1.202 GB, free: 5.934 MB / 1.089 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.755e-05/1.874e-05, allocations: 4.812 kB / 1.202 GB, free: 5.93 MB / 1.089 GB Notification: Performance of NFInst.instantiate(PhotoVoltaics_TGM.TGM_Trina_Measurement_20160808): time 0.005252/0.005271, allocations: 6.172 MB / 1.208 GB, free: 15.71 MB / 1.104 GB Notification: Performance of NFInst.instExpressions: time 0.004117/0.009388, allocations: 3.983 MB / 1.212 GB, free: 11.71 MB / 1.104 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004348/0.009823, allocations: 23.94 kB / 1.212 GB, free: 11.69 MB / 1.104 GB Notification: Performance of NFTyping.typeComponents: time 0.001485/0.01131, allocations: 1.127 MB / 1.213 GB, free: 10.56 MB / 1.104 GB Notification: Performance of NFTyping.typeBindings: time 0.001089/0.0124, allocations: 0.7453 MB / 1.214 GB, free: 9.809 MB / 1.104 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009885/0.01338, allocations: 0.527 MB / 1.214 GB, free: 9.285 MB / 1.104 GB Notification: Performance of NFFlatten.flatten: time 0.001011/0.0144, allocations: 1.456 MB / 1.216 GB, free: 7.824 MB / 1.104 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008947/0.01529, allocations: 0.9225 MB / 1.216 GB, free: 6.875 MB / 1.104 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006955/0.01599, allocations: 0.8341 MB / 1.217 GB, free: 6.039 MB / 1.104 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005326/0.01652, allocations: 0.5258 MB / 1.218 GB, free: 5.512 MB / 1.104 GB Notification: Performance of NFPackage.collectConstants: time 0.0001377/0.01666, allocations: 144 kB / 1.218 GB, free: 5.371 MB / 1.104 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005871/0.01724, allocations: 479.2 kB / 1.218 GB, free: 4.902 MB / 1.104 GB Notification: Performance of NFScalarize.scalarize: time 0.0001919/0.01743, allocations: 322.8 kB / 1.219 GB, free: 4.586 MB / 1.104 GB Notification: Performance of NFVerifyModel.verify: time 0.0003363/0.01777, allocations: 454.8 kB / 1.219 GB, free: 4.141 MB / 1.104 GB Notification: Performance of NFConvertDAE.convert: time 0.001501/0.01927, allocations: 1.912 MB / 1.221 GB, free: 2.223 MB / 1.104 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.01928, allocations: 4 kB / 1.221 GB, free: 2.219 MB / 1.104 GB Notification: Performance of FrontEnd: time 1.343e-06/0.01928, allocations: 0 / 1.221 GB, free: 2.219 MB / 1.104 GB Notification: Performance of Transformations before backend: time 1.795e-05/0.0193, allocations: 3.938 kB / 1.221 GB, free: 2.215 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.002466/0.02176, allocations: 1.771 MB / 1.223 GB, free: 404 kB / 1.104 GB Notification: Performance of prepare preOptimizeDAE: time 3.476e-05/0.0218, allocations: 12.03 kB / 1.223 GB, free: 392 kB / 1.104 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0011/0.0229, allocations: 375.8 kB / 1.223 GB, free: 16 kB / 1.104 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.4048/0.4277, allocations: 0.7383 MB / 1.224 GB, free: 128.4 MB / 1.104 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.227e-05/0.4277, allocations: 84.2 kB / 1.224 GB, free: 128.4 MB / 1.104 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001184/0.4278, allocations: 109.9 kB / 1.224 GB, free: 128.4 MB / 1.104 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001421/0.4293, allocations: 1.269 MB / 1.225 GB, free: 127.9 MB / 1.104 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.415e-05/0.4293, allocations: 0.8438 kB / 1.225 GB, free: 127.9 MB / 1.104 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.211e-05/0.4293, allocations: 47.86 kB / 1.225 GB, free: 127.9 MB / 1.104 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.61e-05/0.4294, allocations: 27.75 kB / 1.225 GB, free: 127.9 MB / 1.104 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0013/0.4307, allocations: 1.164 MB / 1.226 GB, free: 127.5 MB / 1.104 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00337/0.434, allocations: 3.638 MB / 1.23 GB, free: 125.2 MB / 1.104 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001252/0.4353, allocations: 0.9264 MB / 1.231 GB, free: 124.8 MB / 1.104 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003718/0.4357, allocations: 356.5 kB / 1.231 GB, free: 124.6 MB / 1.104 GB Notification: Performance of preOpt evalFunc (simulation): time 5.033e-05/0.4357, allocations: 18.25 kB / 1.231 GB, free: 124.6 MB / 1.104 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004525/0.4362, allocations: 0.5323 MB / 1.232 GB, free: 124.3 MB / 1.104 GB Notification: Performance of pre-optimization done (n=69): time 2.184e-06/0.4362, allocations: 0.5 kB / 1.232 GB, free: 124.3 MB / 1.104 GB Notification: Performance of matching and sorting (n=69): time 0.00253/0.4387, allocations: 1.613 MB / 1.233 GB, free: 123.7 MB / 1.104 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.164e-05/0.4387, allocations: 227.4 kB / 1.234 GB, free: 123.5 MB / 1.104 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004823/0.4392, allocations: 0.7097 MB / 1.234 GB, free: 123.1 MB / 1.104 GB Notification: Performance of collectPreVariables (initialization): time 3.292e-05/0.4393, allocations: 40.58 kB / 1.234 GB, free: 123.1 MB / 1.104 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001756/0.4394, allocations: 0.544 MB / 1.235 GB, free: 122.7 MB / 1.104 GB Notification: Performance of collectInitialBindings (initialization): time 8.735e-05/0.4395, allocations: 236.4 kB / 1.235 GB, free: 122.6 MB / 1.104 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001611/0.4397, allocations: 191.8 kB / 1.235 GB, free: 122.5 MB / 1.104 GB Notification: Performance of setup shared object (initialization): time 6.316e-05/0.4397, allocations: 386.6 kB / 1.236 GB, free: 122.1 MB / 1.104 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003697/0.4401, allocations: 372.2 kB / 1.236 GB, free: 122 MB / 1.104 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004429/0.4406, allocations: 0.6178 MB / 1.237 GB, free: 121.5 MB / 1.104 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007961/0.4414, allocations: 0.962 MB / 1.237 GB, free: 120.8 MB / 1.104 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.709e-06/0.4414, allocations: 2.625 kB / 1.237 GB, free: 120.8 MB / 1.104 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.001258/0.4426, allocations: 1.193 MB / 1.239 GB, free: 120.3 MB / 1.104 GB Notification: Performance of prepare postOptimizeDAE: time 3.262e-05/0.4427, allocations: 70.75 kB / 1.239 GB, free: 120.2 MB / 1.104 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.148e-05/0.4427, allocations: 9.312 kB / 1.239 GB, free: 120.2 MB / 1.104 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002481/0.4429, allocations: 89.44 kB / 1.239 GB, free: 120.2 MB / 1.104 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004817/0.4434, allocations: 222.5 kB / 1.239 GB, free: 120.2 MB / 1.104 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007376/0.4441, allocations: 1.451 MB / 1.24 GB, free: 118.8 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003621/0.4445, allocations: 109 kB / 1.241 GB, free: 118.7 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.516e-05/0.4446, allocations: 49.12 kB / 1.241 GB, free: 118.7 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.0002637/0.4448, allocations: 351.9 kB / 1.241 GB, free: 118.4 MB / 1.104 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.993e-05/0.4449, allocations: 89.73 kB / 1.241 GB, free: 118.4 MB / 1.104 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001172/0.4461, allocations: 1.154 MB / 1.242 GB, free: 117.9 MB / 1.104 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/0.4461, allocations: 6.031 kB / 1.242 GB, free: 117.9 MB / 1.104 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.824e-06/0.4461, allocations: 0 / 1.242 GB, free: 117.9 MB / 1.104 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.464e-06/0.4461, allocations: 9.641 kB / 1.242 GB, free: 117.9 MB / 1.104 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001958/0.448, allocations: 1.97 MB / 1.244 GB, free: 116.9 MB / 1.104 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.448, allocations: 0.5625 kB / 1.244 GB, free: 116.9 MB / 1.104 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002211/0.4483, allocations: 109.9 kB / 1.244 GB, free: 116.9 MB / 1.104 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000418/0.4487, allocations: 368.9 kB / 1.245 GB, free: 116.7 MB / 1.104 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.465e-05/0.4487, allocations: 26.97 kB / 1.245 GB, free: 116.7 MB / 1.104 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005851/0.4493, allocations: 0.9683 MB / 1.246 GB, free: 116 MB / 1.104 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.4493, allocations: 6.375 kB / 1.246 GB, free: 116 MB / 1.104 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001603/0.4509, allocations: 1.668 MB / 1.247 GB, free: 115.1 MB / 1.104 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001946/0.4511, allocations: 161.2 kB / 1.247 GB, free: 115 MB / 1.104 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.331e-05/0.4512, allocations: 30.16 kB / 1.247 GB, free: 115 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002677/0.4514, allocations: 48.45 kB / 1.247 GB, free: 115 MB / 1.104 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.145e-05/0.4515, allocations: 54.39 kB / 1.247 GB, free: 115 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.99e-05/0.4516, allocations: 30.77 kB / 1.247 GB, free: 115 MB / 1.104 GB Notification: Performance of sorting global known variables: time 0.0003357/0.4519, allocations: 484.6 kB / 1.248 GB, free: 114.8 MB / 1.104 GB Notification: Performance of sort global known variables: time 7e-08/0.4519, allocations: 3.156 kB / 1.248 GB, free: 114.8 MB / 1.104 GB Notification: Performance of remove unused functions: time 0.0005494/0.4524, allocations: 350 kB / 1.248 GB, free: 114.7 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.0011/0.4535, allocations: 0.7524 MB / 1.249 GB, free: 114.5 MB / 1.104 GB Notification: Performance of simCode: created initialization part: time 0.001015/0.4546, allocations: 1.104 MB / 1.25 GB, free: 113.9 MB / 1.104 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.4546, allocations: 3.938 kB / 1.25 GB, free: 113.9 MB / 1.104 GB Notification: Performance of simCode: created simulation system equations: time 0.0004395/0.455, allocations: 0.5121 MB / 1.251 GB, free: 113.6 MB / 1.104 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004583/0.4555, allocations: 155.6 kB / 1.251 GB, free: 113.5 MB / 1.104 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001752/0.4572, allocations: 1.851 MB / 1.253 GB, free: 112.5 MB / 1.104 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002357/0.4574, allocations: 440.5 kB / 1.253 GB, free: 112.4 MB / 1.104 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001674/0.4576, allocations: 95.02 kB / 1.253 GB, free: 112.3 MB / 1.104 GB Notification: Performance of SimCode: time 9.82e-07/0.4576, allocations: 4 kB / 1.253 GB, free: 112.3 MB / 1.104 GB Notification: Performance of Templates: time 0.01115/0.4688, allocations: 18.49 MB / 1.271 GB, free: 110.4 MB / 1.104 GB " [Timeout remaining time 660] make -j1 -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160808.makefile [Timeout 660] (rm -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160808.pipe ; mkfifo PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160808.pipe ; head -c 1048576 < PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160808.pipe >> ../files/PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160808.sim & ./PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160808 -abortSlowSimulation -alarm=480 -lv LOG_STATS > PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160808.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.405100686475635] Failed to read output from testmodel.py, exit status != 0: 0.4740166999399662 0.479968287 0.45930343799999995 Calling exit ...