Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.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.000874/0.000874, allocations: 101.5 kB / 18.95 MB, free: 1.184 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.000984/0.000984, allocations: 209.2 kB / 22.24 MB, free: 3.59 MB / 13.93 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.9396/0.9396, allocations: 230.6 MB / 256 MB, free: 9.582 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7592/0.7592, allocations: 203.8 MB / 0.5042 GB, free: 10.41 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 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(IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy3Zones,fileNamePrefix="IDEAS_dev_IDEAS_Airflow_Multizone_Examples_ReverseBuoyancy3Zones",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy3Zones,fileNamePrefix="IDEAS_dev_IDEAS_Airflow_Multizone_Examples_ReverseBuoyancy3Zones",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS 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.0009201/0.0009201, allocations: 66.31 kB / 0.7182 GB, free: 4.051 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4598/0.4608, allocations: 102 MB / 0.8178 GB, free: 1.055 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy3Zones): time 0.2037/0.6645, allocations: 263 MB / 1.075 GB, free: 13.78 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.0179/0.6824, allocations: 16.03 MB / 1.09 GB, free: 13.72 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002852/0.6852, allocations: 107.2 kB / 1.09 GB, free: 13.61 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.003792/0.689, allocations: 1.791 MB / 1.092 GB, free: 11.81 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 0.01306/0.7021, allocations: 6.807 MB / 1.099 GB, free: 4.973 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.006284/0.7084, allocations: 2.999 MB / 1.102 GB, free: 1.977 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.009241/0.7176, allocations: 7.849 MB / 1.109 GB, free: 10.1 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002867/0.7205, allocations: 1.967 MB / 1.111 GB, free: 8.07 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006008/0.7265, allocations: 3.174 MB / 1.114 GB, free: 4.887 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004703/0.7312, allocations: 2.726 MB / 1.117 GB, free: 2.16 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 0.0009153/0.7321, allocations: 332 kB / 1.117 GB, free: 1.836 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009296/0.7414, allocations: 5.079 MB / 1.122 GB, free: 12.74 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 0.001739/0.7431, allocations: 1.359 MB / 1.124 GB, free: 11.38 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 0.00286/0.746, allocations: 1.599 MB / 1.125 GB, free: 9.773 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.01234/0.7583, allocations: 6.783 MB / 1.132 GB, free: 2.969 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.7583, allocations: 3.938 kB / 1.132 GB, free: 2.965 MB / 0.9011 GB Notification: Performance of FrontEnd: time 2.245e-06/0.7583, allocations: 4 kB / 1.132 GB, free: 2.961 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 0.0001533/0.7585, allocations: 0 / 1.132 GB, free: 2.961 MB / 0.9011 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 690 * Number of variables: 690 Notification: Performance of Generate backend data structure: time 0.008276/0.7668, allocations: 4.131 MB / 1.136 GB, free: 14.77 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 6.55e-05/0.7668, allocations: 12.03 kB / 1.136 GB, free: 14.76 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006518/0.7675, allocations: 375.6 kB / 1.136 GB, free: 14.39 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006597/0.7741, allocations: 1.59 MB / 1.138 GB, free: 12.79 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003041/0.7771, allocations: 1.865 MB / 1.14 GB, free: 10.88 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003697/0.7775, allocations: 197.1 kB / 1.14 GB, free: 10.68 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003634/0.7778, allocations: 267.9 kB / 1.14 GB, free: 10.42 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005295/0.7831, allocations: 4.249 MB / 1.144 GB, free: 5.973 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.878e-05/0.7832, allocations: 7.938 kB / 1.144 GB, free: 5.965 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000238/0.7834, allocations: 111.9 kB / 1.144 GB, free: 5.855 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001195/0.7835, allocations: 165.1 kB / 1.145 GB, free: 5.691 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006058/0.7896, allocations: 4.256 MB / 1.149 GB, free: 1.422 MB / 0.9167 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3968/1.186, allocations: 9.056 MB / 1.158 GB, free: 302.6 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004754/1.191, allocations: 3.562 MB / 1.161 GB, free: 301.2 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002961/1.194, allocations: 2.007 MB / 1.163 GB, free: 300.5 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001416/1.194, allocations: 42.48 kB / 1.163 GB, free: 300.5 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.71e-05/1.194, allocations: 66.39 kB / 1.163 GB, free: 300.5 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=278): time 4.899e-06/1.194, allocations: 0 / 1.163 GB, free: 300.5 MB / 0.9167 GB Notification: Performance of matching and sorting (n=278): time 0.007249/1.202, allocations: 4.796 MB / 1.168 GB, free: 298.7 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.351e-05/1.202, allocations: 80.22 kB / 1.168 GB, free: 298.6 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001725/1.203, allocations: 1.419 MB / 1.169 GB, free: 298.1 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.0002716/1.204, allocations: 77.83 kB / 1.169 GB, free: 298 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005108/1.204, allocations: 1.052 MB / 1.17 GB, free: 297.3 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007205/1.205, allocations: 0.9932 MB / 1.171 GB, free: 296.6 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005764/1.205, allocations: 447 kB / 1.172 GB, free: 296.5 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 4.025e-05/1.205, allocations: 306.9 kB / 1.172 GB, free: 296.2 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001996/1.207, allocations: 1.479 MB / 1.173 GB, free: 295.6 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002043/1.21, allocations: 1.758 MB / 1.175 GB, free: 294.9 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004027/1.214, allocations: 3.326 MB / 1.178 GB, free: 293.4 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.42e-05/1.214, allocations: 1.406 kB / 1.178 GB, free: 293.4 MB / 0.9167 GB Notification: Performance of matching and sorting (n=332) (initialization): time 0.005348/1.219, allocations: 3.763 MB / 1.182 GB, free: 291.9 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 3.215e-05/1.219, allocations: 6.656 kB / 1.182 GB, free: 291.9 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.755e-05/1.219, allocations: 4.062 kB / 1.182 GB, free: 291.9 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.405e-05/1.219, allocations: 15.31 kB / 1.182 GB, free: 291.9 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002005/1.221, allocations: 0.6239 MB / 1.183 GB, free: 291.8 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.098e-05/1.221, allocations: 16.34 kB / 1.183 GB, free: 291.8 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002088/1.223, allocations: 284.5 kB / 1.183 GB, free: 291.7 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001612/1.223, allocations: 95.44 kB / 1.183 GB, free: 291.7 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (332): * Single equations (assignments): 332 * 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.001277/1.225, allocations: 0.6417 MB / 1.184 GB, free: 291.3 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006084/1.225, allocations: 251.2 kB / 1.184 GB, free: 291.2 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004159/1.226, allocations: 341 kB / 1.184 GB, free: 290.9 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.34e-05/1.226, allocations: 27.03 kB / 1.184 GB, free: 290.9 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.71e-05/1.226, allocations: 0 / 1.184 GB, free: 290.9 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004428/1.23, allocations: 3.245 MB / 1.187 GB, free: 289.3 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009013/1.239, allocations: 6.649 MB / 1.194 GB, free: 285.6 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.995e-06/1.239, allocations: 0.6875 kB / 1.194 GB, free: 285.6 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001848/1.241, allocations: 0.6151 MB / 1.195 GB, free: 285.4 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.305e-05/1.241, allocations: 15.47 kB / 1.195 GB, free: 285.4 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001389/1.241, allocations: 70.98 kB / 1.195 GB, free: 285.4 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.407e-06/1.241, allocations: 8.531 kB / 1.195 GB, free: 285.4 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/1.241, allocations: 2.625 kB / 1.195 GB, free: 285.4 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00617/1.247, allocations: 5.619 MB / 1.2 GB, free: 282.4 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001519/1.249, allocations: 0.5967 MB / 1.201 GB, free: 281.9 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002464/1.249, allocations: 48 kB / 1.201 GB, free: 281.9 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001269/1.25, allocations: 136.5 kB / 1.201 GB, free: 281.7 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002352/1.251, allocations: 173.8 kB / 1.201 GB, free: 281.6 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001201/1.251, allocations: 87.95 kB / 1.201 GB, free: 281.5 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0009171/1.252, allocations: 0.9584 MB / 1.202 GB, free: 280.5 MB / 0.9167 GB Notification: Performance of sort global known variables: time 2.3e-07/1.252, allocations: 0 / 1.202 GB, free: 280.5 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.001772/1.253, allocations: 1.031 MB / 1.203 GB, free: 279.5 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 18 (volEas.dynBal.medium.Xi[1],volEas.dynBal.U,volEas.dynBal.m,oriOutBot.mExc,oriOutTop.mExc,volOut.dynBal.medium.Xi[1],volOut.dynBal.U,volOut.dynBal.m,oriWesTop.mExc,dooOpeClo.mExcAB,dooOpeClo.mExcBA,oriEasTop.mExc,volTop.dynBal.medium.Xi[1],volTop.dynBal.U,volTop.dynBal.m,volWes.dynBal.medium.Xi[1],volWes.dynBal.U,volWes.dynBal.m) * 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 (278): * Single equations (assignments): 278 * 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.005971/1.259, allocations: 6.403 MB / 1.209 GB, free: 273.1 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.004521/1.264, allocations: 3.334 MB / 1.213 GB, free: 269.8 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 8.366e-06/1.264, allocations: 0 / 1.213 GB, free: 269.8 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.002075/1.266, allocations: 1.709 MB / 1.214 GB, free: 268.1 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004368/1.27, allocations: 1.361 MB / 1.216 GB, free: 266.8 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02237/1.293, allocations: 22.07 MB / 1.237 GB, free: 244.5 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008163/1.293, allocations: 1.338 MB / 1.238 GB, free: 243.2 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.002452/1.296, allocations: 0.9497 MB / 1.239 GB, free: 242.2 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001181/1.297, allocations: 1.108 MB / 1.24 GB, free: 241.1 MB / 0.9167 GB Notification: Performance of SimCode: time 1.954e-06/1.297, allocations: 4 kB / 1.24 GB, free: 241.1 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08221/1.379, allocations: 82.01 MB / 1.321 GB, free: 159.9 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.769/10.15, allocations: 3.953 kB / 1.321 GB, free: 159.9 MB / 0.9167 GB " [Timeout remaining time 650] (rm -f IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; mkfifo IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe >> ../files/IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy3Zones_res.csv --start-time 0 --stop-time 3600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 IDEAS_dev_IDEAS_Airflow_Multizone_Examples_ReverseBuoyancy3Zones.fmu > IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.099419816862792] Failed to read output from testmodel.py, exit status != 0: 10.26511613233015 10.271938704 9.511969895 Calling exit ...