Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.0007348/0.0007348, 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.0008065/0.0008065, 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.8622/0.8622, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7185/0.7185, allocations: 154.6 MB / 413.8 MB, free: 0.8047 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/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_IDEAS_Airflow_Multizone_Examples_ReverseBuoyancy3Zones",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy3Zones,fileNamePrefix="IDEAS_IDEAS_Airflow_Multizone_Examples_ReverseBuoyancy3Zones",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 0.6181 GB, free: 13.68 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.101e-05/2.254e-05, allocations: 5.094 kB / 0.6181 GB, free: 13.67 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy3Zones): time 0.4827/0.4827, allocations: 262.3 MB / 0.8742 GB, free: 13.21 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.02039/0.5031, allocations: 15.9 MB / 0.8898 GB, free: 13.27 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003134/0.5062, allocations: 107.2 kB / 0.8899 GB, free: 13.17 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.004159/0.5104, allocations: 1.813 MB / 0.8916 GB, free: 11.34 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.01438/0.5247, allocations: 6.887 MB / 0.8984 GB, free: 4.426 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.006977/0.5317, allocations: 3.063 MB / 0.9013 GB, free: 1.359 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.009179/0.5409, allocations: 7.959 MB / 0.9091 GB, free: 9.383 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003239/0.5441, allocations: 1.966 MB / 0.911 GB, free: 7.363 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008128/0.5523, allocations: 4.099 MB / 0.915 GB, free: 3.254 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00486/0.5571, allocations: 2.515 MB / 0.9175 GB, free: 0.7539 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 0.0007832/0.5579, allocations: 328 kB / 0.9178 GB, free: 444 kB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009896/0.5678, allocations: 5.136 MB / 0.9228 GB, free: 11.28 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.001717/0.5695, allocations: 1.422 MB / 0.9242 GB, free: 9.855 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.002214/0.5717, allocations: 1.368 MB / 0.9255 GB, free: 8.484 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.01105/0.5828, allocations: 6.984 MB / 0.9324 GB, free: 1.484 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.5828, allocations: 0 / 0.9324 GB, free: 1.484 MB / 0.7761 GB Notification: Performance of FrontEnd: time 2.124e-06/0.5828, allocations: 0 / 0.9324 GB, free: 1.484 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 8.09e-05/0.5829, allocations: 0 / 0.9324 GB, free: 1.484 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.006841/0.5897, allocations: 4.076 MB / 0.9364 GB, free: 13.36 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 4.547e-05/0.5898, allocations: 15.97 kB / 0.9364 GB, free: 13.34 MB / 0.7917 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003555/0.5901, allocations: 383.6 kB / 0.9367 GB, free: 12.96 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003589/0.5937, allocations: 0.9384 MB / 0.9376 GB, free: 12.02 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003298/0.597, allocations: 1.806 MB / 0.9394 GB, free: 10.16 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001141/0.5971, allocations: 197.1 kB / 0.9396 GB, free: 9.965 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003148/0.5974, allocations: 259.9 kB / 0.9398 GB, free: 9.711 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005102/0.6025, allocations: 3.816 MB / 0.9436 GB, free: 5.695 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.401e-05/0.6026, allocations: 7.953 kB / 0.9436 GB, free: 5.688 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002109/0.6028, allocations: 112 kB / 0.9437 GB, free: 5.578 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001247/0.6029, allocations: 161.1 kB / 0.9438 GB, free: 5.418 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00496/0.6079, allocations: 3.588 MB / 0.9473 GB, free: 1.816 MB / 0.7917 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.01171/0.6196, allocations: 8.322 MB / 0.9555 GB, free: 9.348 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003342/0.6229, allocations: 2.929 MB / 0.9583 GB, free: 6.434 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001858/0.6248, allocations: 1.701 MB / 0.96 GB, free: 4.723 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005656/0.6254, allocations: 214 kB / 0.9602 GB, free: 4.512 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.18e-05/0.6254, allocations: 68.75 kB / 0.9603 GB, free: 4.434 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=278): time 5.009e-06/0.6254, allocations: 4 kB / 0.9603 GB, free: 4.43 MB / 0.8073 GB Notification: Performance of matching and sorting (n=278): time 0.005023/0.6304, allocations: 3.894 MB / 0.9641 GB, free: 500 kB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.833e-05/0.6305, allocations: 81.59 kB / 0.9641 GB, free: 404 kB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00147/0.632, allocations: 1.403 MB / 0.9655 GB, free: 14.98 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001478/0.6321, allocations: 77.7 kB / 0.9656 GB, free: 14.9 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005116/0.6326, allocations: 1.048 MB / 0.9666 GB, free: 13.84 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006601/0.6333, allocations: 0.9797 MB / 0.9676 GB, free: 12.86 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004757/0.6338, allocations: 441.4 kB / 0.968 GB, free: 12.42 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 7.5e-05/0.6338, allocations: 305.1 kB / 0.9683 GB, free: 12.12 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001309/0.6351, allocations: 1.145 MB / 0.9694 GB, free: 10.97 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00169/0.6368, allocations: 1.415 MB / 0.9708 GB, free: 9.488 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002779/0.6396, allocations: 2.723 MB / 0.9734 GB, free: 6.676 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.057e-05/0.6396, allocations: 4 kB / 0.9734 GB, free: 6.672 MB / 0.823 GB Notification: Performance of matching and sorting (n=332) (initialization): time 0.003723/0.6433, allocations: 3.111 MB / 0.9765 GB, free: 3.52 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 2.658e-05/0.6434, allocations: 9.312 kB / 0.9765 GB, free: 3.512 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.51e-05/0.6434, allocations: 7.984 kB / 0.9765 GB, free: 3.504 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.64e-05/0.6434, allocations: 20 kB / 0.9765 GB, free: 3.484 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001334/0.6447, allocations: 0.5383 MB / 0.977 GB, free: 2.945 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.23e-05/0.6448, allocations: 19.98 kB / 0.9771 GB, free: 2.926 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001566/0.6463, allocations: 214.3 kB / 0.9773 GB, free: 2.715 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001252/0.6465, allocations: 87.94 kB / 0.9774 GB, free: 2.629 MB / 0.823 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.001087/0.6475, allocations: 0.6504 MB / 0.978 GB, free: 1.969 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003366/0.6479, allocations: 246.5 kB / 0.9782 GB, free: 1.727 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003606/0.6515, allocations: 3.118 MB / 0.9813 GB, free: 14.56 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.535e-05/0.6515, allocations: 24 kB / 0.9813 GB, free: 14.54 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.666e-06/0.6515, allocations: 0 / 0.9813 GB, free: 14.54 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002704/0.6542, allocations: 2.649 MB / 0.9839 GB, free: 11.82 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007118/0.6613, allocations: 5.734 MB / 0.9895 GB, free: 5.988 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.362e-06/0.6613, allocations: 0 / 0.9895 GB, free: 5.988 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001422/0.6628, allocations: 0.5462 MB / 0.99 GB, free: 5.441 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.272e-05/0.6628, allocations: 8 kB / 0.99 GB, free: 5.434 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001164/0.6629, allocations: 63.92 kB / 0.9901 GB, free: 5.371 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.207e-06/0.6629, allocations: 8 kB / 0.9901 GB, free: 5.363 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.6629, allocations: 0 / 0.9901 GB, free: 5.363 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005144/0.668, allocations: 4.59 MB / 0.9946 GB, free: 0.6914 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001125/0.6692, allocations: 0.5445 MB / 0.9951 GB, free: 148 kB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002313/0.6694, allocations: 55.94 kB / 0.9952 GB, free: 92 kB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008677/0.6703, allocations: 72.78 kB / 0.9952 GB, free: 20 kB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.2614/0.9317, allocations: 166.2 kB / 0.9954 GB, free: 296.4 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001943/0.9319, allocations: 91.73 kB / 0.9955 GB, free: 296.4 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.001122/0.933, allocations: 0.9438 MB / 0.9964 GB, free: 296.3 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.8e-07/0.933, allocations: 0 / 0.9964 GB, free: 296.3 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.00195/0.9349, allocations: 0.9989 MB / 0.9974 GB, free: 296.3 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.004327/0.9393, allocations: 5.398 MB / 1.003 GB, free: 294.1 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.002428/0.9417, allocations: 2.687 MB / 1.005 GB, free: 293.2 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.9417, allocations: 4.656 kB / 1.005 GB, free: 293.2 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.001124/0.9428, allocations: 1.392 MB / 1.007 GB, free: 292.7 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002801/0.9456, allocations: 1.361 MB / 1.008 GB, free: 292.4 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01783/0.9635, allocations: 19.42 MB / 1.027 GB, free: 284.2 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001003/0.9645, allocations: 1.334 MB / 1.028 GB, free: 283.9 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0019/0.9664, allocations: 0.871 MB / 1.029 GB, free: 283.8 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001016/0.9674, allocations: 1.097 MB / 1.03 GB, free: 282.9 MB / 0.8386 GB Notification: Performance of SimCode: time 1.292e-06/0.9674, allocations: 0 / 1.03 GB, free: 282.9 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07559/1.043, allocations: 74.06 MB / 1.102 GB, free: 234.1 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.212/10.25, allocations: 4.062 kB / 1.102 GB, free: 234 MB / 0.8386 GB " [Timeout remaining time 650] (rm -f IDEAS_IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; mkfifo IDEAS_IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; head -c 1048576 < IDEAS_IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe >> ../files/IDEAS_IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.sim & python3 -m fmpy simulate --output-file IDEAS_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_IDEAS_Airflow_Multizone_Examples_ReverseBuoyancy3Zones.fmu > IDEAS_IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.998176221735775] Failed to read output from testmodel.py, exit status != 0: 10.369692099280655 10.375508152 9.791151398 Calling exit ...