Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr FastBuildings_FastBuildings.Examples.SingleZone_Inputs_defined.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.001291/0.001291, allocations: 102.9 kB / 16.45 MB, free: 6.449 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.001361/0.001361, allocations: 212.9 kB / 19.43 MB, free: 3.637 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.481/1.481, allocations: 230.6 MB / 252.8 MB, free: 8.945 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.0248/0.0248, allocations: 4.716 MB / 313.6 MB, free: 15.67 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.Examples.SingleZone_Inputs_defined,fileNamePrefix="FastBuildings_FastBuildings_Examples_SingleZone_Inputs_defined",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(FastBuildings.Examples.SingleZone_Inputs_defined,fileNamePrefix="FastBuildings_FastBuildings_Examples_SingleZone_Inputs_defined",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.002016/0.002016, allocations: 71.89 kB / 436.1 MB, free: 13.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1354/0.1374, allocations: 54.45 MB / 490.5 MB, free: 6.578 MB / 350.1 MB Notification: Performance of NFInst.instantiate(FastBuildings.Examples.SingleZone_Inputs_defined): time 0.0068/0.1442, allocations: 2.903 MB / 493.4 MB, free: 3.656 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002253/0.1464, allocations: 0.7556 MB / 494.2 MB, free: 2.895 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003213/0.1468, allocations: 11.94 kB / 494.2 MB, free: 2.883 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002594/0.147, allocations: 39.58 kB / 494.2 MB, free: 2.844 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003459/0.1474, allocations: 91.14 kB / 494.3 MB, free: 2.754 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005893/0.1479, allocations: 123.8 kB / 494.4 MB, free: 2.633 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007574/0.1487, allocations: 382.5 kB / 494.8 MB, free: 2.258 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005642/0.1493, allocations: 144.4 kB / 494.9 MB, free: 2.113 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004473/0.1497, allocations: 159.5 kB / 495.1 MB, free: 1.957 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003405/0.1501, allocations: 147.4 kB / 495.2 MB, free: 1.812 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001033/0.1502, allocations: 40 kB / 495.3 MB, free: 1.773 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001458/0.1503, allocations: 52 kB / 495.3 MB, free: 1.723 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001207/0.1504, allocations: 83.67 kB / 495.4 MB, free: 1.641 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002754/0.1507, allocations: 167.3 kB / 495.6 MB, free: 1.477 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009089/0.1516, allocations: 398.5 kB / 496 MB, free: 1.086 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.233e-06/0.1516, allocations: 3.984 kB / 496 MB, free: 1.082 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1516, allocations: 0 / 496 MB, free: 1.082 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.723e-05/0.1516, allocations: 0 / 496 MB, free: 1.082 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.002059/0.1537, allocations: 0.6562 MB / 496.6 MB, free: 380 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.742e-05/0.1538, allocations: 12.03 kB / 496.6 MB, free: 368 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001217/0.1539, allocations: 58.72 kB / 496.7 MB, free: 300 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004126/0.1543, allocations: 48.73 kB / 496.7 MB, free: 252 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005379/0.1548, allocations: 280 kB / 497 MB, free: 15.93 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.774e-05/0.1549, allocations: 24.88 kB / 497 MB, free: 15.91 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.653e-05/0.1549, allocations: 28.38 kB / 497.1 MB, free: 15.88 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000759/0.1557, allocations: 311.7 kB / 497.4 MB, free: 15.57 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.415e-05/0.1557, allocations: 0 / 497.4 MB, free: 15.57 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.66e-05/0.1557, allocations: 8 kB / 497.4 MB, free: 15.56 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.091e-05/0.1557, allocations: 8 kB / 497.4 MB, free: 15.55 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007161/0.1565, allocations: 242.1 kB / 497.6 MB, free: 15.31 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001771/0.1582, allocations: 1.002 MB / 498.6 MB, free: 14.25 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008512/0.1591, allocations: 270.6 kB / 498.9 MB, free: 13.97 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003472/0.1594, allocations: 132.8 kB / 499 MB, free: 13.84 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.465e-05/0.1595, allocations: 0 / 499 MB, free: 13.84 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005028/0.16, allocations: 177.9 kB / 499.2 MB, free: 13.66 MB / 366.1 MB Notification: Performance of pre-optimization done (n=22): time 1.974e-06/0.16, allocations: 0 / 499.2 MB, free: 13.66 MB / 366.1 MB Notification: Performance of matching and sorting (n=22): time 0.001165/0.1611, allocations: 381.5 kB / 499.6 MB, free: 13.28 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.885e-05/0.1612, allocations: 55.41 kB / 499.6 MB, free: 13.21 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003171/0.1615, allocations: 228.8 kB / 499.9 MB, free: 12.98 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.7e-05/0.1616, allocations: 33.7 kB / 499.9 MB, free: 12.95 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001814/0.1618, allocations: 172.3 kB / 0.4883 GB, free: 12.77 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.299e-05/0.1619, allocations: 79.38 kB / 0.4884 GB, free: 12.7 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001194/0.162, allocations: 49.69 kB / 0.4885 GB, free: 12.64 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002147/0.1622, allocations: 326.8 kB / 0.4888 GB, free: 12.31 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003062/0.1625, allocations: 115.9 kB / 0.4889 GB, free: 12.2 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000328/0.1628, allocations: 152.3 kB / 0.489 GB, free: 12.04 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006314/0.1635, allocations: 285.2 kB / 0.4893 GB, free: 11.74 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.1635, allocations: 0 / 0.4893 GB, free: 11.74 MB / 366.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008403/0.1643, allocations: 366 kB / 0.4896 GB, free: 11.38 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.256e-05/0.1643, allocations: 33.7 kB / 0.4897 GB, free: 11.34 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.276e-05/0.1644, allocations: 4 kB / 0.4897 GB, free: 11.33 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.979e-05/0.1644, allocations: 0 / 0.4897 GB, free: 11.33 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003433/0.1647, allocations: 59.95 kB / 0.4897 GB, free: 11.27 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.486e-05/0.1647, allocations: 11.92 kB / 0.4897 GB, free: 11.26 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002343/0.165, allocations: 27.88 kB / 0.4898 GB, free: 11.23 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.633e-05/0.165, allocations: 8 kB / 0.4898 GB, free: 11.23 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (29): * Single equations (assignments): 28 * 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.000199/0.1652, allocations: 153.9 kB / 0.4899 GB, free: 11.07 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.199e-05/0.1652, allocations: 27.8 kB / 0.49 GB, free: 11.04 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008109/0.1661, allocations: 306.2 kB / 0.4902 GB, free: 10.73 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-06/0.1661, allocations: 0 / 0.4902 GB, free: 10.73 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.1661, allocations: 0 / 0.4902 GB, free: 10.73 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.484e-06/0.1661, allocations: 4 kB / 0.4903 GB, free: 10.73 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004786/0.1666, allocations: 377.3 kB / 0.4906 GB, free: 10.31 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.388e-06/0.1666, allocations: 4 kB / 0.4906 GB, free: 10.3 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003292/0.1669, allocations: 59.83 kB / 0.4907 GB, free: 10.25 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.517e-06/0.1669, allocations: 0 / 0.4907 GB, free: 10.25 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.455e-05/0.1669, allocations: 8 kB / 0.4907 GB, free: 10.24 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.827e-06/0.1669, allocations: 3.984 kB / 0.4907 GB, free: 10.23 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.1669, allocations: 0 / 0.4907 GB, free: 10.23 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001058/0.168, allocations: 460.7 kB / 0.4911 GB, free: 9.766 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.823e-05/0.1681, allocations: 108.9 kB / 0.4912 GB, free: 9.641 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.359e-05/0.1681, allocations: 7.938 kB / 0.4912 GB, free: 9.633 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001806/0.1683, allocations: 19.98 kB / 0.4913 GB, free: 9.613 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.894e-05/0.1684, allocations: 24.03 kB / 0.4913 GB, free: 9.59 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.193e-05/0.1684, allocations: 7.984 kB / 0.4913 GB, free: 9.582 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001712/0.1686, allocations: 164.5 kB / 0.4914 GB, free: 9.418 MB / 366.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1686, allocations: 0 / 0.4914 GB, free: 9.418 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003326/0.1689, allocations: 63.89 kB / 0.4915 GB, free: 9.355 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (bui.zon.capZon.heaPor.T,bui.zon.capInt.heaPor.T) * 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 (22): * Single equations (assignments): 20 * 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.001395/0.1703, allocations: 0.9909 MB / 0.4925 GB, free: 8.34 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007842/0.1711, allocations: 311.3 kB / 0.4928 GB, free: 8.023 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.1711, allocations: 0 / 0.4928 GB, free: 8.023 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003527/0.1714, allocations: 123.8 kB / 0.4929 GB, free: 7.902 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003359/0.1718, allocations: 44.33 kB / 0.4929 GB, free: 7.859 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004679/0.1765, allocations: 2.819 MB / 0.4957 GB, free: 4.941 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004081/0.1769, allocations: 0.7632 MB / 0.4964 GB, free: 4.152 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001377/0.177, allocations: 33.47 kB / 0.4965 GB, free: 4.121 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001575/0.1772, allocations: 83.41 kB / 0.4965 GB, free: 4.039 MB / 366.1 MB Notification: Performance of SimCode: time 5.21e-07/0.1772, allocations: 0 / 0.4965 GB, free: 4.039 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03848/0.2156, allocations: 5.343 MB / 0.5018 GB, free: 14.8 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.474/8.689, allocations: 12.75 kB / 0.5018 GB, free: 14.79 MB / 382.1 MB " [Timeout remaining time 651] (rm -f FastBuildings_FastBuildings.Examples.SingleZone_Inputs_defined.pipe ; mkfifo FastBuildings_FastBuildings.Examples.SingleZone_Inputs_defined.pipe ; head -c 1048576 < FastBuildings_FastBuildings.Examples.SingleZone_Inputs_defined.pipe >> ../files/FastBuildings_FastBuildings.Examples.SingleZone_Inputs_defined.sim & python3 -m fmpy simulate --output-file FastBuildings_FastBuildings.Examples.SingleZone_Inputs_defined_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_Inputs_defined.fmu > FastBuildings_FastBuildings.Examples.SingleZone_Inputs_defined.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.325752465985715] Failed to read output from testmodel.py, exit status != 0: 8.759862948209047 8.775673209 8.620792158 Calling exit ...