Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine.conf.json 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.001004/0.001004, allocations: 80.88 kB / 21.55 MB, free: 2.945 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.001052/0.001052, allocations: 165.5 kB / 24.97 MB, free: 8.656 MB / 18.57 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.9592/0.9592, allocations: 177.1 MB / 205.4 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.973/1.973, allocations: 389.6 MB / 0.6362 GB, free: 12.32 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/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) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine") translateModel(Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0.9844 kB / 0.776 GB, free: 5.363 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.207e-05/2.371e-05, allocations: 3.75 kB / 0.776 GB, free: 5.359 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine): time 0.007107/0.007131, allocations: 6.522 MB / 0.7823 GB, free: 14.85 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.1557/0.1628, allocations: 147 MB / 0.9259 GB, free: 11.41 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001251/0.1641, allocations: 31.75 kB / 0.926 GB, free: 11.38 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.001058/0.1651, allocations: 389.3 kB / 0.9263 GB, free: 10.99 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.002221/0.1674, allocations: 0.8582 MB / 0.9272 GB, free: 10.13 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.00206/0.1694, allocations: 1.099 MB / 0.9283 GB, free: 9.027 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.002149/0.1716, allocations: 2.032 MB / 0.9302 GB, free: 6.984 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001462/0.173, allocations: 1.192 MB / 0.9314 GB, free: 5.742 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001246/0.1743, allocations: 1.084 MB / 0.9325 GB, free: 4.656 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008719/0.1751, allocations: 0.6388 MB / 0.9331 GB, free: 4.016 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 0.0002044/0.1754, allocations: 152 kB / 0.9332 GB, free: 3.867 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001174/0.1765, allocations: 0.6436 MB / 0.9339 GB, free: 3.223 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 0.0004743/0.177, allocations: 498.4 kB / 0.9343 GB, free: 2.734 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 0.0004753/0.1775, allocations: 0.5103 MB / 0.9348 GB, free: 2.223 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.00221/0.1797, allocations: 1.666 MB / 0.9365 GB, free: 0.5508 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 8.616e-06/0.1797, allocations: 0 / 0.9365 GB, free: 0.5508 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.084e-06/0.1797, allocations: 7.938 kB / 0.9365 GB, free: 0.543 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 3.282e-05/0.1797, allocations: 0 / 0.9365 GB, free: 0.543 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 299 * Number of variables: 299 Notification: Performance of Generate backend data structure: time 0.002023/0.1818, allocations: 1.806 MB / 0.9382 GB, free: 14.7 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.167e-05/0.1818, allocations: 9.344 kB / 0.9382 GB, free: 14.69 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001109/0.1829, allocations: 388.1 kB / 0.9386 GB, free: 14.31 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001042/0.1839, allocations: 0.7922 MB / 0.9394 GB, free: 13.49 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.605e-05/0.184, allocations: 98.19 kB / 0.9395 GB, free: 13.39 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001135/0.1841, allocations: 116 kB / 0.9396 GB, free: 13.28 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001039/0.1852, allocations: 1.241 MB / 0.9408 GB, free: 11.88 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.354e-05/0.1852, allocations: 7.938 kB / 0.9408 GB, free: 11.87 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.516e-05/0.1852, allocations: 47.98 kB / 0.9409 GB, free: 11.82 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.182e-05/0.1853, allocations: 70.08 kB / 0.9409 GB, free: 11.75 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008781/0.1862, allocations: 0.6851 MB / 0.9416 GB, free: 11.05 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002886/0.1891, allocations: 2.897 MB / 0.9444 GB, free: 8.07 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006967/0.1898, allocations: 0.584 MB / 0.945 GB, free: 7.473 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001904/0.19, allocations: 172.6 kB / 0.9452 GB, free: 7.301 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001237/0.1901, allocations: 44.95 kB / 0.9452 GB, free: 7.258 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004806/0.1906, allocations: 0.5562 MB / 0.9457 GB, free: 6.648 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=111): time 3.487e-06/0.1906, allocations: 0 / 0.9457 GB, free: 6.648 MB / 0.9011 GB Notification: Performance of matching and sorting (n=112): time 0.001751/0.1923, allocations: 0.8435 MB / 0.9466 GB, free: 5.797 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.806e-05/0.1924, allocations: 256.3 kB / 0.9468 GB, free: 5.492 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006099/0.193, allocations: 0.7363 MB / 0.9475 GB, free: 4.73 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 6.606e-05/0.1931, allocations: 57.7 kB / 0.9476 GB, free: 4.668 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003831/0.1935, allocations: 459 kB / 0.948 GB, free: 4.211 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001902/0.1937, allocations: 380.7 kB / 0.9484 GB, free: 3.836 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002059/0.1939, allocations: 218.7 kB / 0.9486 GB, free: 3.617 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 9.523e-05/0.194, allocations: 357.8 kB / 0.9489 GB, free: 3.262 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001795/0.1942, allocations: 136.9 kB / 0.9491 GB, free: 3.121 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002985/0.1945, allocations: 487.8 kB / 0.9495 GB, free: 2.555 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004655/0.1949, allocations: 0.4986 MB / 0.95 GB, free: 2.012 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.1949, allocations: 0 / 0.95 GB, free: 2.012 MB / 0.9011 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.0009383/0.1959, allocations: 0.6712 MB / 0.9507 GB, free: 1.328 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 2.168e-05/0.1959, allocations: 7.938 kB / 0.9507 GB, free: 1.32 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.088e-05/0.1959, allocations: 4 kB / 0.9507 GB, free: 1.316 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000991/0.1969, allocations: 387.3 kB / 0.9511 GB, free: 0.9336 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005142/0.1974, allocations: 251.7 kB / 0.9513 GB, free: 0.6875 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001397/0.1988, allocations: 1.401 MB / 0.9527 GB, free: 15.19 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004486/0.1992, allocations: 91.59 kB / 0.9527 GB, free: 15.1 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.707e-05/0.1993, allocations: 43.91 kB / 0.9528 GB, free: 15.05 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004062/0.1997, allocations: 228.4 kB / 0.953 GB, free: 14.83 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003031/0.2, allocations: 483.9 kB / 0.9535 GB, free: 14.26 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004508/0.2005, allocations: 491.8 kB / 0.9539 GB, free: 13.74 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.896e-06/0.2005, allocations: 0 / 0.9539 GB, free: 13.74 MB / 0.9167 GB Notification: Performance of matching and sorting (n=144) (initialization_lambda0): time 0.0006991/0.2012, allocations: 0.601 MB / 0.9545 GB, free: 13.13 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.426e-05/0.2012, allocations: 8 kB / 0.9545 GB, free: 13.12 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.2012, allocations: 4 kB / 0.9545 GB, free: 13.12 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001928/0.2014, allocations: 71.62 kB / 0.9546 GB, free: 13.04 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000648/0.202, allocations: 251.6 kB / 0.9548 GB, free: 12.8 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000753/0.2028, allocations: 1.294 MB / 0.9561 GB, free: 11.41 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004002/0.2032, allocations: 95.52 kB / 0.9562 GB, free: 11.31 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.955e-05/0.2032, allocations: 35.97 kB / 0.9562 GB, free: 11.28 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 27 (weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile,weaDat.decAng.k,$PRE.weaDat.decAng.k,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.k,$PRE.weaDat.eqnTim.k,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.k,$PRE.weaDat.conTim.k,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.k,$PRE.weaDat.conTimMin.k,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.k,$PRE.weaDat.locTim.k,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (141): * Single equations (assignments): 140 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * 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 {(2,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0002369/0.2035, allocations: 262.6 kB / 0.9565 GB, free: 11.01 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001255/0.2036, allocations: 107.9 kB / 0.9566 GB, free: 10.91 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001163/0.2048, allocations: 0.7926 MB / 0.9574 GB, free: 10.09 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.717e-06/0.2048, allocations: 7.984 kB / 0.9574 GB, free: 10.09 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.2048, allocations: 0 / 0.9574 GB, free: 10.09 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002939/0.2051, allocations: 198.9 kB / 0.9576 GB, free: 9.891 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.514e-05/0.2052, allocations: 31.98 kB / 0.9576 GB, free: 9.859 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002497/0.2054, allocations: 46.92 kB / 0.9576 GB, free: 9.816 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001222/0.2055, allocations: 80.84 kB / 0.9577 GB, free: 9.738 MB / 0.9167 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008067/0.2063, allocations: 0.7169 MB / 0.9584 GB, free: 9.012 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008433/0.2072, allocations: 0.96 MB / 0.9593 GB, free: 8.031 MB / 0.9167 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002255/0.2074, allocations: 242.6 kB / 0.9596 GB, free: 7.793 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0003379/0.2077, allocations: 362.4 kB / 0.9599 GB, free: 7.426 MB / 0.9167 GB Notification: Performance of Backend: time 3.81e-07/0.2077, allocations: 0 / 0.9599 GB, free: 7.426 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.003955/0.2117, allocations: 2.127 MB / 0.962 GB, free: 5.695 MB / 0.9167 GB Notification: Performance of SimCode: time 0.003688/0.2154, allocations: 2.956 MB / 0.9649 GB, free: 2.695 MB / 0.9167 GB Notification: Performance of Templates: time 0.03657/0.2519, allocations: 32.03 MB / 0.9962 GB, free: 3.109 MB / 0.948 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine.pipe ; mkfifo Buildings_13_Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine.pipe ; head -c 1048576 < Buildings_13_Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine.pipe >> ../files/Buildings_13_Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine.sim & ./Buildings_13_Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.037969971075654]