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.0007237/0.0007237, allocations: 80.44 kB / 19.17 MB, free: 0.7344 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.0007444/0.0007444, allocations: 165.9 kB / 22.45 MB, free: 2.098 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.8791/0.8791, allocations: 177.1 MB / 202.8 MB, free: 5.754 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.6955/0.6955, allocations: 154.6 MB / 413.7 MB, free: 0.8281 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.893e-06/1.893e-06, allocations: 0 / 0.618 GB, free: 13.74 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.635e-05/1.824e-05, allocations: 5.375 kB / 0.618 GB, free: 13.74 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy3Zones): time 0.4387/0.4388, allocations: 262.3 MB / 0.8742 GB, free: 13.29 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0175/0.4563, allocations: 16.05 MB / 0.8899 GB, free: 13.2 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002596/0.4589, allocations: 107.2 kB / 0.89 GB, free: 13.1 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.003022/0.4619, allocations: 1.813 MB / 0.8917 GB, free: 11.27 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.01049/0.4724, allocations: 6.965 MB / 0.8985 GB, free: 4.277 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.004942/0.4773, allocations: 3.06 MB / 0.9015 GB, free: 1.215 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.006115/0.4834, allocations: 8.002 MB / 0.9093 GB, free: 9.195 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001676/0.4851, allocations: 1.966 MB / 0.9113 GB, free: 7.172 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0038/0.4889, allocations: 4.123 MB / 0.9153 GB, free: 3.039 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002319/0.4912, allocations: 2.547 MB / 0.9178 GB, free: 0.5 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 0.0002706/0.4915, allocations: 332 kB / 0.9181 GB, free: 180 kB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00659/0.4981, allocations: 5.155 MB / 0.9231 GB, free: 11 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0008232/0.4989, allocations: 1.444 MB / 0.9245 GB, free: 9.559 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0009943/0.4999, allocations: 1.372 MB / 0.9259 GB, free: 8.184 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.007342/0.5073, allocations: 7.035 MB / 0.9328 GB, free: 1.129 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.5073, allocations: 4 kB / 0.9328 GB, free: 1.125 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.914e-06/0.5073, allocations: 0 / 0.9328 GB, free: 1.125 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 2.357e-05/0.5073, allocations: 0 / 0.9328 GB, free: 1.125 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.004985/0.5123, allocations: 4.112 MB / 0.9368 GB, free: 12.96 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 4.296e-05/0.5123, allocations: 9.469 kB / 0.9368 GB, free: 12.95 MB / 0.7917 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003072/0.5126, allocations: 376.1 kB / 0.9371 GB, free: 12.57 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005245/0.5179, allocations: 1.601 MB / 0.9387 GB, free: 10.97 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002133/0.52, allocations: 1.861 MB / 0.9405 GB, free: 9.059 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.924e-05/0.5201, allocations: 197.1 kB / 0.9407 GB, free: 8.863 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002958/0.5204, allocations: 259.9 kB / 0.941 GB, free: 8.609 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004107/0.5245, allocations: 4.259 MB / 0.9451 GB, free: 4.156 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.008e-05/0.5245, allocations: 3.938 kB / 0.9451 GB, free: 4.152 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002175/0.5248, allocations: 116 kB / 0.9452 GB, free: 4.039 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001003/0.5249, allocations: 161.2 kB / 0.9454 GB, free: 3.879 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004795/0.5296, allocations: 4.256 MB / 0.9495 GB, free: 15.61 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.009312/0.539, allocations: 9.066 MB / 0.9584 GB, free: 6.402 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004039/0.543, allocations: 3.565 MB / 0.9619 GB, free: 2.859 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002272/0.5453, allocations: 2.005 MB / 0.9638 GB, free: 0.8477 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001019/0.5454, allocations: 46.11 kB / 0.9639 GB, free: 0.8008 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.45e-05/0.5454, allocations: 68.69 kB / 0.9639 GB, free: 0.7227 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=278): time 3.988e-06/0.5454, allocations: 0 / 0.9639 GB, free: 0.7227 MB / 0.8073 GB Notification: Performance of matching and sorting (n=278): time 0.005916/0.5513, allocations: 4.792 MB / 0.9686 GB, free: 11.88 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.069e-05/0.5514, allocations: 77.59 kB / 0.9687 GB, free: 11.79 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001262/0.5526, allocations: 1.419 MB / 0.9701 GB, free: 10.37 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001437/0.5528, allocations: 77.7 kB / 0.9702 GB, free: 10.29 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004647/0.5532, allocations: 1.052 MB / 0.9712 GB, free: 9.223 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005448/0.5538, allocations: 0.9836 MB / 0.9721 GB, free: 8.23 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005484/0.5543, allocations: 441.4 kB / 0.9726 GB, free: 7.793 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 7.233e-05/0.5544, allocations: 317 kB / 0.9729 GB, free: 7.48 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001744/0.5561, allocations: 1.473 MB / 0.9743 GB, free: 6.004 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001915/0.5581, allocations: 1.759 MB / 0.976 GB, free: 4.18 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003859/0.5619, allocations: 3.32 MB / 0.9793 GB, free: 0.7695 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.142e-06/0.5619, allocations: 0 / 0.9793 GB, free: 0.7695 MB / 0.823 GB Notification: Performance of matching and sorting (n=332) (initialization): time 0.004424/0.5664, allocations: 3.764 MB / 0.9829 GB, free: 12.96 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.981e-05/0.5664, allocations: 11.94 kB / 0.983 GB, free: 12.95 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.093e-05/0.5664, allocations: 4 kB / 0.983 GB, free: 12.95 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.361e-05/0.5664, allocations: 16 kB / 0.983 GB, free: 12.93 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001704/0.5681, allocations: 0.6124 MB / 0.9836 GB, free: 12.32 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.865e-05/0.5681, allocations: 19.98 kB / 0.9836 GB, free: 12.3 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001382/0.5695, allocations: 274.2 kB / 0.9839 GB, free: 12.03 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001438/0.5697, allocations: 95.97 kB / 0.9839 GB, free: 11.94 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.0009756/0.5706, allocations: 0.662 MB / 0.9846 GB, free: 11.27 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002913/0.5709, allocations: 242.5 kB / 0.9848 GB, free: 11.03 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003605/0.5713, allocations: 339 kB / 0.9851 GB, free: 10.69 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.68e-05/0.5713, allocations: 31.94 kB / 0.9852 GB, free: 10.66 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.451e-05/0.5713, allocations: 0 / 0.9852 GB, free: 10.66 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003675/0.575, allocations: 3.239 MB / 0.9883 GB, free: 7.344 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007446/0.5824, allocations: 6.652 MB / 0.9948 GB, free: 0.5977 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.029e-06/0.5824, allocations: 0 / 0.9948 GB, free: 0.5977 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.2597/0.8421, allocations: 0.6143 MB / 0.9954 GB, free: 295.5 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.876e-05/0.8422, allocations: 10.81 kB / 0.9954 GB, free: 295.5 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005845/0.8427, allocations: 74.81 kB / 0.9955 GB, free: 295.5 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.484e-06/0.8427, allocations: 7.906 kB / 0.9955 GB, free: 295.5 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.8427, allocations: 2.531 kB / 0.9955 GB, free: 295.5 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005908/0.8487, allocations: 5.615 MB / 1.001 GB, free: 293.9 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008888/0.8495, allocations: 0.5964 MB / 1.002 GB, free: 293.7 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000218/0.8498, allocations: 54.31 kB / 1.002 GB, free: 293.7 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001147/0.8509, allocations: 128.7 kB / 1.002 GB, free: 293.7 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002325/0.8511, allocations: 170 kB / 1.002 GB, free: 293.6 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001205/0.8513, allocations: 87.83 kB / 1.002 GB, free: 293.6 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0008098/0.8521, allocations: 0.9532 MB / 1.003 GB, free: 293.3 MB / 0.8386 GB Notification: Performance of sort global known variables: time 7e-08/0.8521, allocations: 2.875 kB / 1.003 GB, free: 293.3 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.001497/0.8536, allocations: 1.034 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.00592/0.8595, allocations: 6.398 MB / 1.01 GB, free: 290.3 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.003599/0.8631, allocations: 3.339 MB / 1.013 GB, free: 289.2 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.8631, allocations: 0 / 1.013 GB, free: 289.2 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.001649/0.8647, allocations: 1.707 MB / 1.015 GB, free: 288.6 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002962/0.8677, allocations: 1.369 MB / 1.016 GB, free: 288.3 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02256/0.8903, allocations: 21.79 MB / 1.038 GB, free: 279.3 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001006/0.8913, allocations: 1.346 MB / 1.039 GB, free: 279 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.002641/0.8939, allocations: 0.9563 MB / 1.04 GB, free: 278.8 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001252/0.8952, allocations: 1.113 MB / 1.041 GB, free: 277.9 MB / 0.8386 GB Notification: Performance of SimCode: time 8.42e-07/0.8952, allocations: 0 / 1.041 GB, free: 277.9 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07998/0.9751, allocations: 81.6 MB / 1.121 GB, free: 215.6 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.608/9.583, allocations: 7.938 kB / 1.121 GB, free: 215.5 MB / 0.8386 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Airflow_Multizone_Examples_ReverseBuoyancy3Zones_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=50 --tolerance=1e-06 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: 12.263435046188533] Failed to read output from testmodel.py, exit status != 0: 9.704518310725689 9.714587831 9.206024145 Calling exit ...