Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr FastBuildings_FastBuildings.Examples.TwoZone_ArtificialInputs.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.001667/0.001667, allocations: 77.55 kB / 19.76 MB, free: 2.031 MB / 14.72 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.001528/0.001528, allocations: 162.4 kB / 23.02 MB, free: 4.949 MB / 14.72 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 1.506/1.506, allocations: 177.2 MB / 203.4 MB, free: 8.941 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/FastBuildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FastBuildings master/package.mo): time 0.02428/0.02428, allocations: 3.576 MB / 263.4 MB, free: 13.21 MB / 254.1 MB " [Timeout remaining time 180] Using package FastBuildings with version 0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/FastBuildings 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) Running command: translateModel(FastBuildings.Examples.TwoZone_ArtificialInputs,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="FastBuildings_FastBuildings.Examples.TwoZone_ArtificialInputs") translateModel(FastBuildings.Examples.TwoZone_ArtificialInputs,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="FastBuildings_FastBuildings.Examples.TwoZone_ArtificialInputs") [Timeout 660] "Notification: FastBuildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00243/0.00243, allocations: 67.91 kB / 387.9 MB, free: 344 kB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1228/0.1253, allocations: 54.47 MB / 442.3 MB, free: 9.77 MB / 414.1 MB Notification: Performance of NFInst.instantiate(FastBuildings.Examples.TwoZone_ArtificialInputs): time 0.00571/0.131, allocations: 3.659 MB / 446 MB, free: 6.09 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00218/0.1331, allocations: 0.9466 MB / 446.9 MB, free: 5.137 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004092/0.1336, allocations: 19.88 kB / 447 MB, free: 5.117 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003189/0.1339, allocations: 83.16 kB / 447 MB, free: 5.035 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004854/0.1344, allocations: 170.5 kB / 447.2 MB, free: 4.867 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006158/0.135, allocations: 203.7 kB / 447.4 MB, free: 4.668 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001105/0.1361, allocations: 0.752 MB / 448.2 MB, free: 3.914 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007038/0.1368, allocations: 340.8 kB / 448.5 MB, free: 3.566 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005551/0.1373, allocations: 291.1 kB / 448.8 MB, free: 3.281 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004962/0.1378, allocations: 258.8 kB / 449 MB, free: 3.027 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001484/0.138, allocations: 88 kB / 449.1 MB, free: 2.941 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002024/0.1382, allocations: 84 kB / 449.2 MB, free: 2.859 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000162/0.1383, allocations: 163.5 kB / 449.4 MB, free: 2.699 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003546/0.1387, allocations: 270.9 kB / 449.6 MB, free: 2.434 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001116/0.1398, allocations: 0.8526 MB / 450.5 MB, free: 1.578 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.1398, allocations: 0 / 450.5 MB, free: 1.578 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.492e-06/0.1398, allocations: 0 / 450.5 MB, free: 1.578 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.604e-05/0.1399, allocations: 0 / 450.5 MB, free: 1.578 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.002009/0.1419, allocations: 0.8465 MB / 451.3 MB, free: 0.6953 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.26e-05/0.1419, allocations: 12.03 kB / 451.3 MB, free: 0.6836 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004012/0.1423, allocations: 96.48 kB / 451.4 MB, free: 0.5898 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005548/0.1429, allocations: 330.2 kB / 451.8 MB, free: 244 kB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.256e-05/0.1429, allocations: 37.38 kB / 451.8 MB, free: 204 kB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.916e-05/0.143, allocations: 48.38 kB / 451.8 MB, free: 156 kB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001271/0.1443, allocations: 0.5967 MB / 452.4 MB, free: 15.54 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.687e-05/0.1443, allocations: 0 / 452.4 MB, free: 15.54 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.895e-05/0.1443, allocations: 24 kB / 452.5 MB, free: 15.52 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.372e-05/0.1443, allocations: 12 kB / 452.5 MB, free: 15.5 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001107/0.1455, allocations: 467.6 kB / 452.9 MB, free: 15.05 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003049/0.1485, allocations: 1.477 MB / 454.4 MB, free: 13.53 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008612/0.1494, allocations: 401.7 kB / 454.8 MB, free: 13.12 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005396/0.1499, allocations: 253.1 kB / 455 MB, free: 12.87 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.062e-05/0.1499, allocations: 12.27 kB / 455.1 MB, free: 12.86 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00101/0.151, allocations: 317.5 kB / 455.4 MB, free: 12.53 MB / 430.1 MB Notification: Performance of pre-optimization done (n=38): time 3.647e-06/0.151, allocations: 0 / 455.4 MB, free: 12.53 MB / 430.1 MB Notification: Performance of matching and sorting (n=38): time 0.002572/0.1535, allocations: 0.6557 MB / 456 MB, free: 11.87 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00011/0.1536, allocations: 89.11 kB / 456.1 MB, free: 11.76 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006522/0.1543, allocations: 324.4 kB / 456.4 MB, free: 11.44 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.155e-05/0.1543, allocations: 29.7 kB / 456.5 MB, free: 11.4 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003438/0.1547, allocations: 264.4 kB / 456.7 MB, free: 11.14 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001903/0.1549, allocations: 134.8 kB / 456.8 MB, free: 11.01 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001795/0.1551, allocations: 82.14 kB / 456.9 MB, free: 10.92 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002291/0.1553, allocations: 346.8 kB / 457.3 MB, free: 10.57 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005392/0.1558, allocations: 230.6 kB / 457.5 MB, free: 10.34 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005973/0.1564, allocations: 309.7 kB / 457.8 MB, free: 10 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001041/0.1575, allocations: 0.4983 MB / 458.3 MB, free: 9.477 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.861e-06/0.1575, allocations: 3.938 kB / 458.3 MB, free: 9.473 MB / 430.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.001287/0.1588, allocations: 0.6231 MB / 458.9 MB, free: 8.832 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.5e-05/0.1588, allocations: 33.7 kB / 458.9 MB, free: 8.793 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.516e-06/0.1588, allocations: 3.938 kB / 459 MB, free: 8.789 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.066e-05/0.1588, allocations: 4 kB / 459 MB, free: 8.785 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005992/0.1594, allocations: 131.7 kB / 459.1 MB, free: 8.656 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.213e-05/0.1594, allocations: 4 kB / 459.1 MB, free: 8.652 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003375/0.1598, allocations: 51.75 kB / 459.1 MB, free: 8.602 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.966e-05/0.1598, allocations: 12.19 kB / 459.1 MB, free: 8.59 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 5 (simFasBui.powElePul.count,$PRE.simFasBui.powElePul.count,simFasBui.powElePul.T_start,$PRE.simFasBui.powElePul.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (51): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 1 * 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 prepare postOptimizeDAE: time 0.0003204/0.1601, allocations: 229.6 kB / 459.4 MB, free: 8.355 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.847e-05/0.1602, allocations: 35.77 kB / 459.4 MB, free: 8.32 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009528/0.1612, allocations: 461.2 kB / 459.9 MB, free: 7.863 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.693e-06/0.1612, allocations: 8 kB / 459.9 MB, free: 7.855 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.1612, allocations: 0 / 459.9 MB, free: 7.855 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.732e-06/0.1612, allocations: 3.984 kB / 459.9 MB, free: 7.852 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006032/0.1618, allocations: 432.9 kB / 460.3 MB, free: 7.398 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.497e-06/0.1618, allocations: 4 kB / 460.3 MB, free: 7.395 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005732/0.1624, allocations: 111.9 kB / 460.4 MB, free: 7.285 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.408e-06/0.1624, allocations: 0 / 460.4 MB, free: 7.285 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.941e-05/0.1624, allocations: 15.98 kB / 460.4 MB, free: 7.27 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/0.1624, allocations: 0 / 460.4 MB, free: 7.27 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.1624, allocations: 4 kB / 460.4 MB, free: 7.266 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001659/0.1641, allocations: 0.7758 MB / 461.2 MB, free: 6.469 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.299e-05/0.1642, allocations: 43.8 kB / 461.2 MB, free: 6.426 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.098e-05/0.1642, allocations: 12 kB / 461.3 MB, free: 6.414 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002557/0.1645, allocations: 27.91 kB / 461.3 MB, free: 6.387 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001095/0.1646, allocations: 35.94 kB / 461.3 MB, free: 6.352 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.883e-05/0.1646, allocations: 8 kB / 461.3 MB, free: 6.344 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002602/0.1649, allocations: 223.1 kB / 461.5 MB, free: 6.129 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1649, allocations: 4 kB / 461.5 MB, free: 6.125 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0004757/0.1654, allocations: 147.6 kB / 461.7 MB, free: 5.98 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 5 (bui.zon1.capZon.heaPor.T,bui.zon1.capWal.heaPor.T,bui.zon1.capInt.heaPor.T,bui.zon2.capZon.heaPor.T,bui.bou.capWal.heaPor.T) * Number of discrete variables: 3 ($whenCondition1,simFasBui.powElePul.T_start,simFasBui.powElePul.count) * Number of discrete states: 1 (simFasBui.powElePul.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001328/0.1655, allocations: 107.2 kB / 461.8 MB, free: 5.863 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001156/0.1667, allocations: 0.5361 MB / 462.3 MB, free: 5.309 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.1667, allocations: 0 / 462.3 MB, free: 5.309 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000507/0.1672, allocations: 227.8 kB / 462.6 MB, free: 5.086 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003995/0.1676, allocations: 65.2 kB / 462.6 MB, free: 5.02 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00219/0.1698, allocations: 1.186 MB / 463.8 MB, free: 3.801 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003007/0.1701, allocations: 271.9 kB / 464.1 MB, free: 3.516 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002164/0.1703, allocations: 54.94 kB / 464.1 MB, free: 3.461 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001186/0.1704, allocations: 36.48 kB / 464.2 MB, free: 3.426 MB / 430.1 MB Notification: Performance of SimCode: time 8.82e-07/0.1704, allocations: 0 / 464.2 MB, free: 3.426 MB / 430.1 MB Notification: Performance of Templates: time 0.009883/0.1803, allocations: 4.221 MB / 468.4 MB, free: 15.26 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f FastBuildings_FastBuildings.Examples.TwoZone_ArtificialInputs.makefile [Timeout 660] (rm -f FastBuildings_FastBuildings.Examples.TwoZone_ArtificialInputs.pipe ; mkfifo FastBuildings_FastBuildings.Examples.TwoZone_ArtificialInputs.pipe ; head -c 1048576 < FastBuildings_FastBuildings.Examples.TwoZone_ArtificialInputs.pipe >> ../files/FastBuildings_FastBuildings.Examples.TwoZone_ArtificialInputs.sim & ./FastBuildings_FastBuildings.Examples.TwoZone_ArtificialInputs -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > FastBuildings_FastBuildings.Examples.TwoZone_ArtificialInputs.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.7487216599984095] Failed to read output from testmodel.py, exit status != 0: 0.19024792592972517 0.21284361300000001 0.068410266 Calling exit ...