Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr FastBuildings_FastBuildings.Input.SIM_2Zones_Artificial.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.00135/0.00135, allocations: 108 kB / 16.46 MB, free: 6.508 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.001462/0.001462, allocations: 215.2 kB / 19.43 MB, free: 3.648 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.461/1.461, allocations: 230.6 MB / 252.8 MB, free: 9.109 MB / 206.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.02512/0.02512, allocations: 4.702 MB / 313.6 MB, free: 15.7 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: "" <> buildModelFMU(FastBuildings.Input.SIM_2Zones_Artificial,fileNamePrefix="FastBuildings_FastBuildings_Input_SIM_2Zones_Artificial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(FastBuildings.Input.SIM_2Zones_Artificial,fileNamePrefix="FastBuildings_FastBuildings_Input_SIM_2Zones_Artificial",fmuType="me",version="2.0",platforms={"static"}) [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.002875/0.002875, allocations: 63.89 kB / 436 MB, free: 13.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1311/0.1339, allocations: 54.45 MB / 490.5 MB, free: 6.656 MB / 350.1 MB Notification: Performance of NFInst.instantiate(FastBuildings.Input.SIM_2Zones_Artificial): time 0.003408/0.1374, allocations: 1.732 MB / 492.2 MB, free: 4.91 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001418/0.1388, allocations: 0.5493 MB / 492.8 MB, free: 4.355 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001339/0.1389, allocations: 3.938 kB / 492.8 MB, free: 4.352 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001344/0.139, allocations: 19.8 kB / 492.8 MB, free: 4.332 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001197/0.1392, allocations: 27.73 kB / 492.8 MB, free: 4.305 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000346/0.1395, allocations: 55.86 kB / 492.9 MB, free: 4.25 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003021/0.1398, allocations: 127.6 kB / 493 MB, free: 4.125 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001833/0.14, allocations: 41.28 kB / 493 MB, free: 4.086 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002434/0.1402, allocations: 75.7 kB / 493.1 MB, free: 4.012 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000123/0.1404, allocations: 55.75 kB / 493.2 MB, free: 3.957 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.984e-05/0.1404, allocations: 8 kB / 493.2 MB, free: 3.949 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.039e-05/0.1404, allocations: 12 kB / 493.2 MB, free: 3.938 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.989e-05/0.1405, allocations: 27.86 kB / 493.2 MB, free: 3.91 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.855e-05/0.1406, allocations: 51.66 kB / 493.3 MB, free: 3.859 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002373/0.1408, allocations: 115.5 kB / 493.4 MB, free: 3.746 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.1408, allocations: 0 / 493.4 MB, free: 3.746 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.1408, allocations: 3.938 kB / 493.4 MB, free: 3.742 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.276e-05/0.1408, allocations: 0 / 493.4 MB, free: 3.742 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0009913/0.1418, allocations: 476.5 kB / 493.8 MB, free: 3.223 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.1e-05/0.1419, allocations: 11.97 kB / 493.9 MB, free: 3.211 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.645e-05/0.142, allocations: 54.67 kB / 493.9 MB, free: 3.148 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000276/0.1422, allocations: 28.83 kB / 493.9 MB, free: 3.121 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002659/0.1425, allocations: 220.1 kB / 494.2 MB, free: 2.867 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.896e-05/0.1425, allocations: 8.375 kB / 494.2 MB, free: 2.859 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.867e-05/0.1426, allocations: 12.38 kB / 494.2 MB, free: 2.848 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000445/0.143, allocations: 195.6 kB / 494.4 MB, free: 2.637 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/0.143, allocations: 0 / 494.4 MB, free: 2.637 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.815e-05/0.143, allocations: 4 kB / 494.4 MB, free: 2.633 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.288e-06/0.143, allocations: 8 kB / 494.4 MB, free: 2.625 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004374/0.1435, allocations: 131.8 kB / 494.5 MB, free: 2.496 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001004/0.1445, allocations: 0.7551 MB / 495.3 MB, free: 1.676 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005679/0.145, allocations: 266.1 kB / 495.5 MB, free: 1.352 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002677/0.1453, allocations: 92.22 kB / 495.6 MB, free: 1.246 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.196e-05/0.1453, allocations: 4 kB / 495.6 MB, free: 1.242 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003932/0.1457, allocations: 171.5 kB / 495.8 MB, free: 1.047 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 1.643e-06/0.1457, allocations: 0 / 495.8 MB, free: 1.047 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.0008726/0.1466, allocations: 241.3 kB / 496 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001025/0.1467, allocations: 158.6 kB / 496.2 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001777/0.1469, allocations: 179.4 kB / 496.3 MB, free: 440 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.822e-05/0.1469, allocations: 29.7 kB / 496.4 MB, free: 404 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.182e-05/0.147, allocations: 123.9 kB / 496.5 MB, free: 276 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.008e-05/0.147, allocations: 35.7 kB / 496.5 MB, free: 240 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.377e-05/0.1471, allocations: 29.7 kB / 496.6 MB, free: 204 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001608/0.1473, allocations: 322.8 kB / 496.9 MB, free: 15.88 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002334/0.1475, allocations: 67.88 kB / 496.9 MB, free: 15.81 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002441/0.1477, allocations: 96.22 kB / 497 MB, free: 15.7 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004653/0.1482, allocations: 185.8 kB / 497.2 MB, free: 15.5 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.1482, allocations: 0 / 497.2 MB, free: 15.5 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0005973/0.1488, allocations: 235 kB / 497.4 MB, free: 15.25 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.294e-05/0.1489, allocations: 41.69 kB / 497.5 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.1489, allocations: 0 / 497.5 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.403e-05/0.1489, allocations: 0 / 497.5 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001791/0.149, allocations: 35.91 kB / 497.5 MB, free: 15.17 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.161e-06/0.1491, allocations: 0 / 497.5 MB, free: 15.17 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001626/0.1492, allocations: 23.97 kB / 497.5 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.928e-05/0.1492, allocations: 12 kB / 497.6 MB, free: 15.14 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 5 (powElePul.count,$PRE.powElePul.count,powElePul.T_start,$PRE.powElePul.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 12 * 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.000122/0.1494, allocations: 125.8 kB / 497.7 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.283e-05/0.1494, allocations: 15.89 kB / 497.7 MB, free: 14.99 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002193/0.1496, allocations: 94.52 kB / 497.8 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-06/0.1496, allocations: 0 / 497.8 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.083e-06/0.1496, allocations: 4 kB / 497.8 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/0.1496, allocations: 3.984 kB / 497.8 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004619/0.1501, allocations: 445.8 kB / 498.2 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/0.1501, allocations: 4 kB / 498.2 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000151/0.1502, allocations: 31.91 kB / 498.3 MB, free: 14.35 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/0.1502, allocations: 0 / 498.3 MB, free: 14.35 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.847e-05/0.1503, allocations: 8 kB / 498.3 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.1503, allocations: 0 / 498.3 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/0.1503, allocations: 4 kB / 498.3 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006113/0.1509, allocations: 381.4 kB / 498.7 MB, free: 13.94 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.318e-05/0.1509, allocations: 89 kB / 498.7 MB, free: 13.83 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.403e-05/0.151, allocations: 11.98 kB / 498.8 MB, free: 13.82 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002122/0.1512, allocations: 19.97 kB / 498.8 MB, free: 13.8 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.35e-05/0.1513, allocations: 19.97 kB / 498.8 MB, free: 13.78 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.307e-05/0.1513, allocations: 4 kB / 498.8 MB, free: 13.78 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001234/0.1514, allocations: 139.2 kB / 498.9 MB, free: 13.64 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1514, allocations: 4 kB / 498.9 MB, free: 13.64 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003233/0.1517, allocations: 27.95 kB / 499 MB, free: 13.61 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,powElePul.T_start,powElePul.count) * Number of discrete states: 1 (powElePul.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 9 * 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.001199/0.1529, allocations: 0.9765 MB / 499.9 MB, free: 12.59 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005753/0.1535, allocations: 207.2 kB / 0.4884 GB, free: 12.38 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.1535, allocations: 0 / 0.4884 GB, free: 12.38 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002972/0.1538, allocations: 87.8 kB / 0.4885 GB, free: 12.29 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003921/0.1542, allocations: 15.94 kB / 0.4885 GB, free: 12.28 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003217/0.1574, allocations: 2.185 MB / 0.4907 GB, free: 9.961 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003843/0.1578, allocations: 0.7312 MB / 0.4914 GB, free: 9.203 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.164e-05/0.1579, allocations: 16.55 kB / 0.4914 GB, free: 9.184 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.496e-05/0.158, allocations: 43.42 kB / 0.4914 GB, free: 9.141 MB / 366.1 MB Notification: Performance of SimCode: time 4.91e-07/0.158, allocations: 0 / 0.4914 GB, free: 9.141 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02456/0.1825, allocations: 3.16 MB / 0.4945 GB, free: 6.062 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.99/8.173, allocations: 15.73 kB / 0.4945 GB, free: 6.051 MB / 366.1 MB " [Timeout remaining time 652] (rm -f FastBuildings_FastBuildings.Input.SIM_2Zones_Artificial.pipe ; mkfifo FastBuildings_FastBuildings.Input.SIM_2Zones_Artificial.pipe ; head -c 1048576 < FastBuildings_FastBuildings.Input.SIM_2Zones_Artificial.pipe >> ../files/FastBuildings_FastBuildings.Input.SIM_2Zones_Artificial.sim & python3 -m fmpy simulate --output-file FastBuildings_FastBuildings.Input.SIM_2Zones_Artificial_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 FastBuildings_FastBuildings_Input_SIM_2Zones_Artificial.fmu > FastBuildings_FastBuildings.Input.SIM_2Zones_Artificial.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.820642097853124] Failed to read output from testmodel.py, exit status != 0: 8.243467992171645 8.270881921 8.124867791 Calling exit ...