Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr FastBuildings_FastBuildings.Examples.SingleZone_Design.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.001311/0.001311, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 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.002291/0.002291, allocations: 165.9 kB / 22.45 MB, free: 2.109 MB / 18.57 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 0.9416/0.9416, allocations: 177.2 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] 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.01297/0.01297, allocations: 3.58 MB / 262.8 MB, free: 9.801 MB / 250.7 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_Design,fileNamePrefix="FastBuildings_FastBuildings_Examples_SingleZone_Design",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(FastBuildings.Examples.SingleZone_Design,fileNamePrefix="FastBuildings_FastBuildings_Examples_SingleZone_Design",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.144e-06/2.144e-06, allocations: 0 / 386.8 MB, free: 9.879 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.252e-05/2.467e-05, allocations: 5.094 kB / 386.9 MB, free: 9.875 MB / 314.7 MB Notification: Performance of NFInst.instantiate(FastBuildings.Examples.SingleZone_Design): time 0.003462/0.003486, allocations: 2.12 MB / 389 MB, free: 7.738 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004482/0.003935, allocations: 167.5 kB / 389.1 MB, free: 7.574 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001012/0.004036, allocations: 4 kB / 389.1 MB, free: 7.57 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001471/0.004183, allocations: 31.66 kB / 389.2 MB, free: 7.539 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001152/0.004298, allocations: 47.56 kB / 389.2 MB, free: 7.492 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000198/0.004496, allocations: 51.94 kB / 389.3 MB, free: 7.441 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002538/0.00475, allocations: 219.5 kB / 389.5 MB, free: 7.227 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002561/0.005006, allocations: 96.55 kB / 389.6 MB, free: 7.129 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001277/0.005134, allocations: 107.8 kB / 389.7 MB, free: 7.023 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001267/0.00526, allocations: 51.81 kB / 389.7 MB, free: 6.973 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 4.322e-05/0.005303, allocations: 24 kB / 389.8 MB, free: 6.949 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.94e-05/0.005333, allocations: 20 kB / 389.8 MB, free: 6.93 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 3.944e-05/0.005372, allocations: 35.91 kB / 389.8 MB, free: 6.895 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 7.539e-05/0.005448, allocations: 67.84 kB / 389.9 MB, free: 6.828 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002467/0.005694, allocations: 211.4 kB / 390.1 MB, free: 6.621 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.005698, allocations: 4 kB / 390.1 MB, free: 6.617 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.373e-06/0.005699, allocations: 0 / 390.1 MB, free: 6.617 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.15e-06/0.005704, allocations: 0 / 390.1 MB, free: 6.617 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.000622/0.006326, allocations: 380.6 kB / 390.5 MB, free: 6.215 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.185e-05/0.006368, allocations: 8.031 kB / 390.5 MB, free: 6.207 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.126e-05/0.00642, allocations: 50.67 kB / 390.5 MB, free: 6.148 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.778e-05/0.006457, allocations: 20.84 kB / 390.5 MB, free: 6.129 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002133/0.006671, allocations: 157.5 kB / 390.7 MB, free: 5.949 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.643e-05/0.006687, allocations: 8.375 kB / 390.7 MB, free: 5.941 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.235e-05/0.006719, allocations: 16.38 kB / 390.7 MB, free: 5.926 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002924/0.007012, allocations: 177.8 kB / 390.9 MB, free: 5.734 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.007022, allocations: 192 / 390.9 MB, free: 5.734 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.226e-05/0.007044, allocations: 4.375 kB / 390.9 MB, free: 5.73 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.627e-06/0.007053, allocations: 8.125 kB / 390.9 MB, free: 5.723 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001983/0.007251, allocations: 100.7 kB / 391 MB, free: 5.625 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009233/0.008175, allocations: 0.6886 MB / 391.7 MB, free: 4.883 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001107/0.008285, allocations: 50.58 kB / 391.7 MB, free: 4.824 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.084e-05/0.008346, allocations: 32.97 kB / 391.8 MB, free: 4.789 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.413e-05/0.00836, allocations: 4 kB / 391.8 MB, free: 4.785 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.325e-05/0.008383, allocations: 34.5 kB / 391.8 MB, free: 4.742 MB / 314.7 MB Notification: Performance of pre-optimization done (n=6): time 1.653e-06/0.008385, allocations: 0 / 391.8 MB, free: 4.742 MB / 314.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002496/0.008635, allocations: 105.5 kB / 391.9 MB, free: 4.633 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.56e-05/0.00867, allocations: 51.41 kB / 392 MB, free: 4.57 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001593/0.00883, allocations: 178.8 kB / 392.1 MB, free: 4.387 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.302e-05/0.008843, allocations: 25.7 kB / 392.2 MB, free: 4.355 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.146e-05/0.008924, allocations: 143.7 kB / 392.3 MB, free: 4.211 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.945e-05/0.008954, allocations: 19.84 kB / 392.3 MB, free: 4.191 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.329e-05/0.009007, allocations: 29.72 kB / 392.3 MB, free: 4.156 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001049/0.009112, allocations: 322.8 kB / 392.7 MB, free: 3.832 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.707e-05/0.009169, allocations: 27.98 kB / 392.7 MB, free: 3.805 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.039e-05/0.009249, allocations: 82.8 kB / 392.8 MB, free: 3.699 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001513/0.009401, allocations: 126.8 kB / 392.9 MB, free: 3.551 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.806e-06/0.009403, allocations: 0 / 392.9 MB, free: 3.551 MB / 314.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002102/0.009614, allocations: 141.4 kB / 393 MB, free: 3.406 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/0.009629, allocations: 4 kB / 393 MB, free: 3.402 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.541e-06/0.009634, allocations: 4.219 kB / 393 MB, free: 3.398 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.571e-05/0.00965, allocations: 8 kB / 393 MB, free: 3.391 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000143/0.009793, allocations: 27.92 kB / 393.1 MB, free: 3.363 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.043e-06/0.0098, allocations: 4 kB / 393.1 MB, free: 3.359 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.336e-05/0.009873, allocations: 15.89 kB / 393.1 MB, free: 3.344 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.044e-05/0.009884, allocations: 4 kB / 393.1 MB, free: 3.34 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (14): * Single equations (assignments): 14 * 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 prepare postOptimizeDAE: time 0.0001005/0.009984, allocations: 137.7 kB / 393.2 MB, free: 3.195 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.934e-05/0.01001, allocations: 7.953 kB / 393.2 MB, free: 3.188 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.25e-05/0.01005, allocations: 21.02 kB / 393.3 MB, free: 3.172 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-06/0.01005, allocations: 3.984 kB / 393.3 MB, free: 3.168 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.01005, allocations: 4 kB / 393.3 MB, free: 3.164 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.01006, allocations: 7.938 kB / 393.3 MB, free: 3.156 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000225/0.01028, allocations: 196.6 kB / 393.5 MB, free: 2.922 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.01028, allocations: 0 / 393.5 MB, free: 2.922 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.867e-05/0.01038, allocations: 12 kB / 393.5 MB, free: 2.91 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.847e-06/0.01039, allocations: 4 kB / 393.5 MB, free: 2.906 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.416e-06/0.0104, allocations: 0 / 393.5 MB, free: 2.906 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.0104, allocations: 0 / 393.5 MB, free: 2.906 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.0104, allocations: 0 / 393.5 MB, free: 2.906 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002264/0.01062, allocations: 207.4 kB / 393.7 MB, free: 2.688 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.312e-05/0.01065, allocations: 15.92 kB / 393.7 MB, free: 2.672 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.827e-05/0.01067, allocations: 64 / 393.7 MB, free: 2.672 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.041e-05/0.01074, allocations: 7.938 kB / 393.7 MB, free: 2.664 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.804e-05/0.01075, allocations: 7.984 kB / 393.7 MB, free: 2.656 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.168e-06/0.01076, allocations: 3.938 kB / 393.7 MB, free: 2.652 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001008/0.01086, allocations: 123.2 kB / 393.8 MB, free: 2.531 MB / 314.7 MB Notification: Performance of sort global known variables: time 1e-07/0.01086, allocations: 0 / 393.8 MB, free: 2.531 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003002/0.01116, allocations: 35.89 kB / 393.9 MB, free: 2.496 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (bui.zon.capZon.heaPor.T) * 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 (6): * Single equations (assignments): 6 * 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.0004439/0.0116, allocations: 0.7397 MB / 394.6 MB, free: 1.727 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.000165/0.01177, allocations: 68.3 kB / 394.7 MB, free: 1.66 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.01177, allocations: 4.062 kB / 394.7 MB, free: 1.656 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.707e-05/0.01181, allocations: 20 kB / 394.7 MB, free: 1.637 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003347/0.01214, allocations: 22.73 kB / 394.7 MB, free: 1.617 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001927/0.01407, allocations: 1.837 MB / 396.6 MB, free: 15.66 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.045e-05/0.01416, allocations: 102.1 kB / 396.7 MB, free: 15.54 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 6.523e-05/0.01423, allocations: 20.62 kB / 396.7 MB, free: 15.52 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001048/0.01433, allocations: 36.5 kB / 396.7 MB, free: 15.48 MB / 330.7 MB Notification: Performance of SimCode: time 8.61e-07/0.01433, allocations: 0 / 396.7 MB, free: 15.48 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01612/0.03045, allocations: 3.532 MB / 400.3 MB, free: 12.09 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.785/6.816, allocations: 10.91 kB / 400.3 MB, free: 12.08 MB / 330.7 MB " [Timeout remaining time 653] (rm -f FastBuildings_FastBuildings.Examples.SingleZone_Design.pipe ; mkfifo FastBuildings_FastBuildings.Examples.SingleZone_Design.pipe ; head -c 1048576 < FastBuildings_FastBuildings.Examples.SingleZone_Design.pipe >> ../files/FastBuildings_FastBuildings.Examples.SingleZone_Design.sim & python3 -m fmpy simulate --output-file FastBuildings_FastBuildings.Examples.SingleZone_Design_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_Design.fmu > FastBuildings_FastBuildings.Examples.SingleZone_Design.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 8.799919145181775] Failed to read output from testmodel.py, exit status != 0: 6.901297999545932 7.056364977 7.047722459 Calling exit ...