Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001135/0.001135, allocations: 107 kB / 16.45 MB, free: 6.508 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001138/0.001138, allocations: 200.5 kB / 19.41 MB, free: 3.664 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.263/1.263, allocations: 225.6 MB / 247.8 MB, free: 13.95 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002273/0.002273, allocations: 297.7 kB / 303 MB, free: 9.48 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.079/1.079, allocations: 180.9 MB / 0.5261 GB, free: 14.64 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002563/0.002563, allocations: 106.5 kB / 0.7248 GB, free: 40.06 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1276/0.1302, allocations: 94.16 MB / 0.8167 GB, free: 5.344 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.004551/0.1347, allocations: 3.297 MB / 0.8199 GB, free: 2.031 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002979/0.1377, allocations: 2.046 MB / 0.8219 GB, free: 15.97 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.752e-05/0.1378, allocations: 8 kB / 0.8219 GB, free: 15.96 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0008322/0.1386, allocations: 290.8 kB / 0.8222 GB, free: 15.68 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.000425/0.1391, allocations: 238.9 kB / 0.8225 GB, free: 15.45 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005543/0.1396, allocations: 285.5 kB / 0.8227 GB, free: 15.17 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0004221/0.14, allocations: 414.6 kB / 0.8231 GB, free: 14.76 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002764/0.1403, allocations: 168 kB / 0.8233 GB, free: 14.6 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000196/0.1405, allocations: 163.4 kB / 0.8234 GB, free: 14.44 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003244/0.1408, allocations: 215.3 kB / 0.8236 GB, free: 14.23 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.917e-05/0.1409, allocations: 24 kB / 0.8237 GB, free: 14.2 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003832/0.1412, allocations: 275.5 kB / 0.8239 GB, free: 13.93 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001251/0.1414, allocations: 123.6 kB / 0.824 GB, free: 13.81 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001421/0.1415, allocations: 147.3 kB / 0.8242 GB, free: 13.67 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0005439/0.1421, allocations: 494.4 kB / 0.8247 GB, free: 13.18 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.1421, allocations: 0 / 0.8247 GB, free: 13.18 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.012e-06/0.1421, allocations: 0 / 0.8247 GB, free: 13.18 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.761e-06/0.1421, allocations: 0 / 0.8247 GB, free: 13.18 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.0009961/0.1431, allocations: 0.6115 MB / 0.8253 GB, free: 12.52 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.018e-05/0.1431, allocations: 8.031 kB / 0.8253 GB, free: 12.52 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.554e-05/0.1432, allocations: 66.61 kB / 0.8253 GB, free: 12.44 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000886/0.1441, allocations: 116.6 kB / 0.8254 GB, free: 12.33 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003863/0.1444, allocations: 280.6 kB / 0.8257 GB, free: 12.01 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.524e-05/0.1445, allocations: 24.92 kB / 0.8257 GB, free: 11.98 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000113/0.1446, allocations: 40.42 kB / 0.8258 GB, free: 11.95 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006659/0.1452, allocations: 449.1 kB / 0.8262 GB, free: 11.47 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.914e-05/0.1453, allocations: 11.94 kB / 0.8262 GB, free: 11.46 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.38e-05/0.1453, allocations: 11.98 kB / 0.8262 GB, free: 11.45 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001281/0.1454, allocations: 40.53 kB / 0.8263 GB, free: 11.41 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006042/0.146, allocations: 365.9 kB / 0.8266 GB, free: 11.05 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002538/0.1486, allocations: 2.207 MB / 0.8288 GB, free: 8.645 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004059/0.149, allocations: 246.4 kB / 0.829 GB, free: 8.395 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000205/0.1492, allocations: 145.7 kB / 0.8291 GB, free: 8.25 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.759e-05/0.1492, allocations: 3.938 kB / 0.8291 GB, free: 8.246 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.731e-05/0.1492, allocations: 38.56 kB / 0.8292 GB, free: 8.199 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=22): time 1.252e-06/0.1492, allocations: 0 / 0.8292 GB, free: 8.199 MB / 0.5762 GB Notification: Performance of matching and sorting (n=23): time 0.001695/0.1509, allocations: 1.065 MB / 0.8302 GB, free: 7.066 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.343e-05/0.151, allocations: 51.41 kB / 0.8303 GB, free: 7.004 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002979/0.1513, allocations: 264.9 kB / 0.8305 GB, free: 6.738 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.833e-05/0.1513, allocations: 25.7 kB / 0.8305 GB, free: 6.707 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001177/0.1514, allocations: 196.4 kB / 0.8307 GB, free: 6.512 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 6.998e-05/0.1515, allocations: 87.27 kB / 0.8308 GB, free: 6.426 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001196/0.1516, allocations: 81.59 kB / 0.8309 GB, free: 6.34 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001317/0.1517, allocations: 334.8 kB / 0.8312 GB, free: 6.004 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002722/0.152, allocations: 155.9 kB / 0.8314 GB, free: 5.852 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003313/0.1523, allocations: 242.3 kB / 0.8316 GB, free: 5.582 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005579/0.1529, allocations: 418.8 kB / 0.832 GB, free: 5.141 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.257e-06/0.1529, allocations: 3.938 kB / 0.832 GB, free: 5.137 MB / 0.5762 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001148/0.154, allocations: 0.5886 MB / 0.8326 GB, free: 4.539 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.353e-05/0.154, allocations: 6.656 kB / 0.8326 GB, free: 4.535 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.194e-06/0.1541, allocations: 4.312 kB / 0.8326 GB, free: 4.531 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006503/0.1547, allocations: 192.6 kB / 0.8328 GB, free: 4.34 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002984/0.155, allocations: 63.89 kB / 0.8328 GB, free: 4.277 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00283/0.1578, allocations: 2.504 MB / 0.8353 GB, free: 1.633 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000361/0.1582, allocations: 28.03 kB / 0.8353 GB, free: 1.605 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.698e-05/0.1582, allocations: 12 kB / 0.8353 GB, free: 1.594 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 31 * 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): 1 system {(2,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001658/0.1584, allocations: 165.7 kB / 0.8355 GB, free: 1.422 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.761e-05/0.1584, allocations: 27.86 kB / 0.8355 GB, free: 1.395 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005156/0.159, allocations: 348.8 kB / 0.8358 GB, free: 1.051 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.159, allocations: 4 kB / 0.8358 GB, free: 1.047 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.312e-06/0.159, allocations: 0 / 0.8358 GB, free: 1.047 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.816e-06/0.159, allocations: 4 kB / 0.8358 GB, free: 1.043 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001074/0.16, allocations: 0.8221 MB / 0.8366 GB, free: 164 kB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.16, allocations: 0 / 0.8366 GB, free: 164 kB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003672/0.1604, allocations: 71.94 kB / 0.8367 GB, free: 92 kB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.718e-06/0.1604, allocations: 4 kB / 0.8367 GB, free: 88 kB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.249e-05/0.1604, allocations: 11.98 kB / 0.8367 GB, free: 76 kB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.744e-06/0.1604, allocations: 0 / 0.8367 GB, free: 76 kB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.1604, allocations: 8 kB / 0.8367 GB, free: 68 kB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007476/0.1612, allocations: 0.6087 MB / 0.8373 GB, free: 15.44 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000175/0.1614, allocations: 125 kB / 0.8374 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.318e-05/0.1614, allocations: 8 kB / 0.8374 GB, free: 15.29 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002336/0.1616, allocations: 19.92 kB / 0.8375 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.543e-05/0.1617, allocations: 19.92 kB / 0.8375 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.702e-05/0.1617, allocations: 8 kB / 0.8375 GB, free: 15.24 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002148/0.1619, allocations: 188.5 kB / 0.8377 GB, free: 15.06 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9.1e-08/0.1619, allocations: 0 / 0.8377 GB, free: 15.06 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003801/0.1623, allocations: 87.94 kB / 0.8378 GB, free: 14.98 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (dynRC.q[1],dynRC.q[2],dynRL.psi[1],dynRL.psi[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00106/0.1634, allocations: 1.162 MB / 0.8389 GB, free: 13.78 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0008767/0.1642, allocations: 0.5261 MB / 0.8394 GB, free: 13.24 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.1642, allocations: 0 / 0.8394 GB, free: 13.24 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001988/0.1644, allocations: 139.8 kB / 0.8395 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000402/0.1648, allocations: 70.06 kB / 0.8396 GB, free: 13.04 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005058/0.1699, allocations: 3.684 MB / 0.8432 GB, free: 9.188 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004042/0.1703, allocations: 0.7951 MB / 0.844 GB, free: 8.367 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0002141/0.1705, allocations: 74.92 kB / 0.844 GB, free: 8.297 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001409/0.1706, allocations: 87.41 kB / 0.8441 GB, free: 8.215 MB / 0.5919 GB Notification: Performance of SimCode: time 4.1e-07/0.1706, allocations: 0 / 0.8441 GB, free: 8.215 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03389/0.2045, allocations: 6.993 MB / 0.851 GB, free: 1.426 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.008/9.212, allocations: 8.953 kB / 0.851 GB, free: 1.422 MB / 0.5919 GB " [Timeout remaining time 651] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads.fmu > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.797832061070949] Failed to read output from testmodel.py, exit status != 0: 9.294125160668045 9.316641539999999 9.170846188 Calling exit ...