Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr FastBuildings_FastBuildings.Examples.SingleZone_Controlled.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.001323/0.001323, allocations: 109 kB / 16.4 MB, free: 6.504 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.001313/0.001314, allocations: 191.7 kB / 19.35 MB, free: 3.734 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.382/1.382, allocations: 222.9 MB / 245.1 MB, free: 15.02 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.03529/0.03529, allocations: 4.651 MB / 301.9 MB, free: 8.141 MB / 238.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.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(FastBuildings.Examples.SingleZone_Controlled,fileNamePrefix="FastBuildings_FastBuildings_Examples_SingleZone_Controlled",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(FastBuildings.Examples.SingleZone_Controlled,fileNamePrefix="FastBuildings_FastBuildings_Examples_SingleZone_Controlled",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002201/0.002201, allocations: 67.89 kB / 416.5 MB, free: 26.43 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1066/0.1088, allocations: 50.5 MB / 467 MB, free: 7.891 MB / 334.1 MB Notification: Performance of NFInst.instantiate(FastBuildings.Examples.SingleZone_Controlled): time 0.004787/0.1136, allocations: 3.181 MB / 470.2 MB, free: 4.691 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001583/0.1153, allocations: 0.7796 MB / 471 MB, free: 3.906 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001902/0.1155, allocations: 11.94 kB / 471 MB, free: 3.895 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001907/0.1157, allocations: 55.44 kB / 471.1 MB, free: 3.84 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002551/0.116, allocations: 114.9 kB / 471.2 MB, free: 3.727 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003919/0.1164, allocations: 139.8 kB / 471.3 MB, free: 3.59 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000618/0.117, allocations: 0.518 MB / 471.8 MB, free: 3.07 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004671/0.1175, allocations: 270.8 kB / 472.1 MB, free: 2.801 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003039/0.1178, allocations: 195.3 kB / 472.3 MB, free: 2.609 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002771/0.1181, allocations: 199.2 kB / 472.5 MB, free: 2.414 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.693e-05/0.1182, allocations: 56 kB / 472.5 MB, free: 2.359 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.455e-05/0.1183, allocations: 56 kB / 472.6 MB, free: 2.305 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001289/0.1184, allocations: 107.7 kB / 472.7 MB, free: 2.199 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002423/0.1187, allocations: 223.1 kB / 472.9 MB, free: 1.98 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006678/0.1193, allocations: 0.5489 MB / 473.5 MB, free: 1.43 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.1193, allocations: 0 / 473.5 MB, free: 1.43 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.1194, allocations: 4 kB / 473.5 MB, free: 1.426 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.616e-06/0.1194, allocations: 0 / 473.5 MB, free: 1.426 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.001594/0.121, allocations: 0.7464 MB / 474.2 MB, free: 0.625 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.536e-05/0.121, allocations: 8.031 kB / 474.2 MB, free: 0.6172 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.79e-05/0.1211, allocations: 62.73 kB / 474.3 MB, free: 0.5469 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001063/0.1212, allocations: 48.62 kB / 474.3 MB, free: 0.5 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004098/0.1217, allocations: 318.7 kB / 474.6 MB, free: 148 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001209/0.1218, allocations: 58.91 kB / 474.7 MB, free: 80 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.163e-05/0.1219, allocations: 32.31 kB / 474.7 MB, free: 48 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000878/0.1227, allocations: 400.9 kB / 475.1 MB, free: 15.64 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.447e-05/0.1228, allocations: 7.938 kB / 475.1 MB, free: 15.64 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.275e-05/0.1228, allocations: 8 kB / 475.1 MB, free: 15.63 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.555e-05/0.1228, allocations: 8 kB / 475.1 MB, free: 15.62 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008633/0.1237, allocations: 326.4 kB / 475.5 MB, free: 15.3 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002351/0.1261, allocations: 1.503 MB / 477 MB, free: 13.7 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001098/0.1272, allocations: 376.1 kB / 477.3 MB, free: 13.31 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004666/0.1277, allocations: 205.6 kB / 477.5 MB, free: 13.11 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.215e-05/0.1277, allocations: 11.97 kB / 477.5 MB, free: 13.09 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005714/0.1283, allocations: 236.9 kB / 477.8 MB, free: 12.84 MB / 350.1 MB Notification: Performance of pre-optimization done (n=26): time 2.325e-06/0.1283, allocations: 4 kB / 477.8 MB, free: 12.84 MB / 350.1 MB Notification: Performance of matching and sorting (n=26): time 0.001395/0.1297, allocations: 497.1 kB / 478.3 MB, free: 12.35 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.906e-05/0.1298, allocations: 85.14 kB / 478.3 MB, free: 12.25 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003531/0.1302, allocations: 287 kB / 478.6 MB, free: 11.96 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.451e-05/0.1302, allocations: 29.7 kB / 478.6 MB, free: 11.93 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001855/0.1304, allocations: 204.5 kB / 478.8 MB, free: 11.72 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.729e-05/0.1305, allocations: 83.28 kB / 478.9 MB, free: 11.64 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001198/0.1306, allocations: 57.7 kB / 479 MB, free: 11.58 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001605/0.1308, allocations: 338.8 kB / 479.3 MB, free: 11.24 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004209/0.1312, allocations: 155.9 kB / 479.5 MB, free: 11.09 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004425/0.1317, allocations: 200.9 kB / 479.7 MB, free: 10.87 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008576/0.1326, allocations: 375.4 kB / 480 MB, free: 10.48 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.705e-06/0.1326, allocations: 4 kB / 480 MB, free: 10.48 MB / 350.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001093/0.1337, allocations: 454.9 kB / 480.5 MB, free: 10.02 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.703e-05/0.1337, allocations: 33.7 kB / 480.5 MB, free: 9.98 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.785e-06/0.1337, allocations: 0 / 480.5 MB, free: 9.98 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.034e-05/0.1338, allocations: 4 kB / 480.5 MB, free: 9.977 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0011/0.1349, allocations: 211.7 kB / 480.7 MB, free: 9.77 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002137/0.137, allocations: 1.679 MB / 482.4 MB, free: 7.949 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00037/0.1374, allocations: 47.73 kB / 482.4 MB, free: 7.902 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.441e-05/0.1375, allocations: 8 kB / 482.5 MB, free: 7.895 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (35): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 1 * 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 {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003025/0.1378, allocations: 181.7 kB / 482.6 MB, free: 7.707 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.951e-05/0.1378, allocations: 35.81 kB / 482.7 MB, free: 7.672 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009773/0.1388, allocations: 364.4 kB / 483 MB, free: 7.309 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.585e-06/0.1388, allocations: 4 kB / 483 MB, free: 7.305 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.654e-06/0.1388, allocations: 0 / 483 MB, free: 7.305 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/0.1389, allocations: 0 / 483 MB, free: 7.305 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005989/0.1395, allocations: 465.2 kB / 483.5 MB, free: 6.801 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.399e-06/0.1395, allocations: 7.938 kB / 483.5 MB, free: 6.793 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001059/0.1405, allocations: 203.7 kB / 483.7 MB, free: 6.594 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.809e-06/0.1406, allocations: 4 kB / 483.7 MB, free: 6.59 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.157e-05/0.1406, allocations: 8 kB / 483.7 MB, free: 6.582 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001976/0.1426, allocations: 1.671 MB / 485.4 MB, free: 4.777 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.332e-06/0.1426, allocations: 8.016 kB / 485.4 MB, free: 4.77 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001398/0.144, allocations: 0.5758 MB / 486 MB, free: 4.172 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001124/0.1442, allocations: 108.9 kB / 486.1 MB, free: 4.047 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.576e-05/0.1442, allocations: 12.03 kB / 486.1 MB, free: 4.035 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002412/0.1445, allocations: 27.97 kB / 486.1 MB, free: 4.008 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001196/0.1446, allocations: 27.97 kB / 486.1 MB, free: 3.98 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.343e-05/0.1446, allocations: 7.938 kB / 486.1 MB, free: 3.973 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002609/0.1449, allocations: 209.9 kB / 486.3 MB, free: 3.773 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1449, allocations: 0 / 486.3 MB, free: 3.773 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004921/0.1454, allocations: 87.84 kB / 486.4 MB, free: 3.688 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (bui.zon.capZon.heaPor.T,bui.zon.capWal.heaPor.T,bui.zon.capEmb.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 (26): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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 {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001818/0.1472, allocations: 1.12 MB / 487.5 MB, free: 2.535 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001767/0.149, allocations: 0.5186 MB / 488.1 MB, free: 2.004 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.37e-06/0.149, allocations: 0 / 488.1 MB, free: 2.004 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001132/0.1501, allocations: 316.1 kB / 488.4 MB, free: 1.695 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004763/0.1506, allocations: 52.75 kB / 488.4 MB, free: 1.637 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006554/0.1572, allocations: 3.567 MB / 492 MB, free: 13.94 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004818/0.1577, allocations: 0.7909 MB / 492.8 MB, free: 13.12 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001903/0.1579, allocations: 34.27 kB / 492.8 MB, free: 13.09 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002098/0.1581, allocations: 103.4 kB / 492.9 MB, free: 12.98 MB / 366.1 MB Notification: Performance of SimCode: time 1.362e-06/0.1582, allocations: 0 / 492.9 MB, free: 12.98 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03578/0.1939, allocations: 6.912 MB / 499.8 MB, free: 6.215 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.23/12.42, allocations: 3.781 kB / 499.8 MB, free: 6.211 MB / 366.1 MB " [Timeout remaining time 647] (rm -f FastBuildings_FastBuildings.Examples.SingleZone_Controlled.pipe ; mkfifo FastBuildings_FastBuildings.Examples.SingleZone_Controlled.pipe ; head -c 1048576 < FastBuildings_FastBuildings.Examples.SingleZone_Controlled.pipe >> ../files/FastBuildings_FastBuildings.Examples.SingleZone_Controlled.sim & python3 -m fmpy simulate --output-file FastBuildings_FastBuildings.Examples.SingleZone_Controlled_res.csv --start-time 0 --stop-time 604800 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1209.6 FastBuildings_FastBuildings_Examples_SingleZone_Controlled.fmu > FastBuildings_FastBuildings.Examples.SingleZone_Controlled.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.10332915210165] Failed to read output from testmodel.py, exit status != 0: 12.51431922800839 12.537948671 12.414358244 Calling exit ...