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.0008377/0.0008377, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.001719/0.001719, 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.9172/0.9172, allocations: 177.1 MB / 202.8 MB, free: 5.73 MB / 186.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.7151/0.7151, allocations: 154.5 MB / 413.7 MB, free: 0.8086 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [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: Performance of FrontEnd - loaded program: time 1.793e-06/1.793e-06, allocations: 0 / 0.618 GB, free: 13.7 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.856e-05/3.036e-05, allocations: 5.094 kB / 0.618 GB, free: 13.7 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy3Zones): time 0.5171/0.5171, allocations: 262.3 MB / 0.8742 GB, free: 13.22 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.02028/0.5374, allocations: 16.05 MB / 0.8899 GB, free: 13.14 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00394/0.5413, allocations: 107.2 kB / 0.89 GB, free: 13.03 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.005083/0.5464, allocations: 1.813 MB / 0.8917 GB, free: 11.21 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.01472/0.5611, allocations: 6.973 MB / 0.8986 GB, free: 4.203 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.006391/0.5675, allocations: 3.059 MB / 0.9015 GB, free: 1.145 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.009147/0.5767, allocations: 7.989 MB / 0.9093 GB, free: 9.133 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004296/0.581, allocations: 1.974 MB / 0.9113 GB, free: 7.102 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01091/0.5919, allocations: 4.123 MB / 0.9153 GB, free: 2.969 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004759/0.5966, allocations: 2.54 MB / 0.9178 GB, free: 452 kB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 0.001222/0.5979, allocations: 332 kB / 0.9181 GB, free: 120 kB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009605/0.6075, allocations: 5.167 MB / 0.9231 GB, free: 10.93 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.002078/0.6095, allocations: 1.437 MB / 0.9245 GB, free: 9.488 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.002804/0.6123, allocations: 1.376 MB / 0.9259 GB, free: 8.109 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.01314/0.6255, allocations: 7.039 MB / 0.9328 GB, free: 1.051 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 7.173e-06/0.6255, allocations: 0 / 0.9328 GB, free: 1.051 MB / 0.7761 GB Notification: Performance of FrontEnd: time 2.104e-06/0.6255, allocations: 3.281 kB / 0.9328 GB, free: 1.051 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 0.0001842/0.6257, allocations: 0 / 0.9328 GB, free: 1.051 MB / 0.7761 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.008623/0.6343, allocations: 4.11 MB / 0.9368 GB, free: 12.89 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 5.038e-05/0.6344, allocations: 13.47 kB / 0.9368 GB, free: 12.88 MB / 0.7917 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004416/0.6348, allocations: 371.6 kB / 0.9371 GB, free: 12.5 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006438/0.6412, allocations: 1.605 MB / 0.9387 GB, free: 10.89 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003913/0.6451, allocations: 1.853 MB / 0.9405 GB, free: 8.992 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001328/0.6453, allocations: 201.1 kB / 0.9407 GB, free: 8.793 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004707/0.6457, allocations: 263.9 kB / 0.941 GB, free: 8.535 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005716/0.6515, allocations: 4.251 MB / 0.9451 GB, free: 4.086 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.773e-05/0.6515, allocations: 7.938 kB / 0.9451 GB, free: 4.078 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002601/0.6518, allocations: 112 kB / 0.9452 GB, free: 3.969 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001211/0.6519, allocations: 157.2 kB / 0.9454 GB, free: 3.812 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006791/0.6587, allocations: 4.26 MB / 0.9495 GB, free: 15.54 MB / 0.8073 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.01349/0.6722, allocations: 9.07 MB / 0.9584 GB, free: 6.332 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004812/0.677, allocations: 3.565 MB / 0.9619 GB, free: 2.781 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002681/0.6797, allocations: 2.006 MB / 0.9638 GB, free: 0.7695 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001227/0.6798, allocations: 42.17 kB / 0.9639 GB, free: 0.7266 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.532e-05/0.6799, allocations: 68.69 kB / 0.9639 GB, free: 0.6484 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=278): time 5.17e-06/0.6799, allocations: 2.906 kB / 0.9639 GB, free: 0.6484 MB / 0.8073 GB Notification: Performance of matching and sorting (n=278): time 0.007128/0.687, allocations: 4.788 MB / 0.9686 GB, free: 11.81 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.19e-05/0.687, allocations: 77.59 kB / 0.9687 GB, free: 11.72 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001709/0.6887, allocations: 1.423 MB / 0.9701 GB, free: 10.29 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0002621/0.689, allocations: 77.7 kB / 0.9702 GB, free: 10.21 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.000562/0.6896, allocations: 1.052 MB / 0.9712 GB, free: 9.148 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008215/0.6904, allocations: 0.9797 MB / 0.9721 GB, free: 8.16 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006007/0.691, allocations: 445.4 kB / 0.9726 GB, free: 7.719 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 8.378e-05/0.6911, allocations: 309.1 kB / 0.9729 GB, free: 7.414 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002209/0.6933, allocations: 1.477 MB / 0.9743 GB, free: 5.934 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002257/0.6955, allocations: 1.759 MB / 0.976 GB, free: 4.109 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004332/0.6999, allocations: 3.32 MB / 0.9793 GB, free: 0.6992 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.428e-05/0.6999, allocations: 4 kB / 0.9793 GB, free: 0.6953 MB / 0.823 GB Notification: Performance of matching and sorting (n=332) (initialization): time 0.005809/0.7057, allocations: 3.76 MB / 0.9829 GB, free: 12.89 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 3.633e-05/0.7057, allocations: 8 kB / 0.983 GB, free: 12.88 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.866e-05/0.7058, allocations: 4 kB / 0.983 GB, free: 12.88 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.254e-05/0.7058, allocations: 16 kB / 0.983 GB, free: 12.86 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002027/0.7078, allocations: 0.6163 MB / 0.9836 GB, free: 12.25 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.087e-05/0.7079, allocations: 19.98 kB / 0.9836 GB, free: 12.23 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002107/0.71, allocations: 274.2 kB / 0.9839 GB, free: 11.96 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002123/0.7102, allocations: 99.91 kB / 0.9839 GB, free: 11.86 MB / 0.8386 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.001246/0.7114, allocations: 0.662 MB / 0.9846 GB, free: 11.19 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005625/0.712, allocations: 242.5 kB / 0.9848 GB, free: 10.95 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004357/0.7124, allocations: 339 kB / 0.9851 GB, free: 10.61 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.576e-05/0.7124, allocations: 28 kB / 0.9852 GB, free: 10.58 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.72e-05/0.7125, allocations: 0 / 0.9852 GB, free: 10.58 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004453/0.7169, allocations: 3.243 MB / 0.9883 GB, free: 7.266 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009261/0.7262, allocations: 6.641 MB / 0.9948 GB, free: 0.5352 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.035e-06/0.7262, allocations: 3.625 kB / 0.9948 GB, free: 0.5352 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.3163/1.042, allocations: 0.6174 MB / 0.9954 GB, free: 295.5 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.784e-05/1.043, allocations: 9.5 kB / 0.9954 GB, free: 295.5 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005882/1.043, allocations: 75.44 kB / 0.9955 GB, free: 295.5 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.488e-06/1.043, allocations: 8.438 kB / 0.9955 GB, free: 295.5 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/1.043, allocations: 1.312 kB / 0.9955 GB, free: 295.5 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006743/1.05, allocations: 5.611 MB / 1.001 GB, free: 293.9 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001407/1.051, allocations: 0.595 MB / 1.002 GB, free: 293.8 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004148/1.052, allocations: 51.38 kB / 1.002 GB, free: 293.7 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001414/1.053, allocations: 132.8 kB / 1.002 GB, free: 293.7 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002511/1.053, allocations: 171.6 kB / 1.002 GB, free: 293.7 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001296/1.053, allocations: 93.84 kB / 1.002 GB, free: 293.6 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0009475/1.054, allocations: 0.9566 MB / 1.003 GB, free: 293.3 MB / 0.8386 GB Notification: Performance of sort global known variables: time 2e-07/1.054, allocations: 0 / 1.003 GB, free: 293.3 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.001987/1.056, allocations: 1.03 MB / 1.004 GB, free: 293.2 MB / 0.8386 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.006581/1.063, allocations: 6.408 MB / 1.01 GB, free: 290.3 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.004357/1.067, allocations: 3.33 MB / 1.013 GB, free: 289.2 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 6.843e-06/1.067, allocations: 0 / 1.013 GB, free: 289.2 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.00197/1.069, allocations: 1.709 MB / 1.015 GB, free: 288.7 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003988/1.073, allocations: 1.37 MB / 1.016 GB, free: 288.4 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03435/1.108, allocations: 21.8 MB / 1.038 GB, free: 279.3 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001308/1.109, allocations: 1.341 MB / 1.039 GB, free: 279 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.003065/1.112, allocations: 0.9588 MB / 1.04 GB, free: 278.8 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001478/1.114, allocations: 1.109 MB / 1.041 GB, free: 277.9 MB / 0.8386 GB Notification: Performance of SimCode: time 1.913e-06/1.114, allocations: 0 / 1.041 GB, free: 277.9 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09602/1.21, allocations: 81.6 MB / 1.121 GB, free: 215.5 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.6/10.81, allocations: 7.922 kB / 1.121 GB, free: 215.5 MB / 0.8386 GB " [Timeout remaining time 649] (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.765869035385549] Failed to read output from testmodel.py, exit status != 0: 10.933880158700049 10.942949667 10.315610256 Calling exit ...