Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002149/0.002149, allocations: 108.1 kB / 16.4 MB, free: 6.508 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002502/0.002502, allocations: 192.5 kB / 19.35 MB, free: 3.734 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.509/1.509, allocations: 222.9 MB / 245.1 MB, free: 15 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.619/2.619, allocations: 437.1 MB / 0.7171 GB, free: 4.047 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones,fileNamePrefix="Buildings_10_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy3Zones",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones,fileNamePrefix="Buildings_10_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy3Zones",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001946/0.001946, allocations: 63.89 kB / 1.027 GB, free: 11.99 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8731/0.8751, allocations: 151.6 MB / 1.175 GB, free: 17.45 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones): time 0.3484/1.224, allocations: 295.1 MB / 1.463 GB, free: 0.8945 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.03175/1.255, allocations: 17 MB / 1.479 GB, free: 15.85 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005219/1.261, allocations: 79.62 kB / 1.48 GB, free: 15.77 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.00719/1.268, allocations: 1.896 MB / 1.481 GB, free: 13.87 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.02158/1.289, allocations: 6.432 MB / 1.488 GB, free: 7.41 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.008736/1.298, allocations: 2.948 MB / 1.491 GB, free: 4.461 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.01185/1.31, allocations: 7.698 MB / 1.498 GB, free: 12.74 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004467/1.315, allocations: 2.595 MB / 1.501 GB, free: 10.08 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006685/1.321, allocations: 2.768 MB / 1.503 GB, free: 7.305 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006437/1.328, allocations: 2.708 MB / 1.506 GB, free: 4.598 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.001241/1.329, allocations: 328 kB / 1.506 GB, free: 4.277 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01367/1.343, allocations: 6.161 MB / 1.512 GB, free: 14.1 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.002368/1.345, allocations: 1.336 MB / 1.514 GB, free: 12.76 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.003585/1.349, allocations: 1.886 MB / 1.515 GB, free: 10.87 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.01468/1.363, allocations: 6.908 MB / 1.522 GB, free: 3.938 MB / 1.232 GB Notification: Performance of FrontEnd - DAE generated: time 1.146e-05/1.364, allocations: 0 / 1.522 GB, free: 3.938 MB / 1.232 GB Notification: Performance of FrontEnd: time 1.913e-06/1.364, allocations: 7.938 kB / 1.522 GB, free: 3.93 MB / 1.232 GB Notification: Performance of Transformations before backend: time 0.000149/1.364, allocations: 0 / 1.522 GB, free: 3.93 MB / 1.232 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 669 * Number of variables: 669 Notification: Performance of Generate backend data structure: time 0.01163/1.375, allocations: 4.226 MB / 1.526 GB, free: 15.63 MB / 1.248 GB Notification: Performance of prepare preOptimizeDAE: time 5.109e-05/1.375, allocations: 16.61 kB / 1.526 GB, free: 15.61 MB / 1.248 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005506/1.376, allocations: 371 kB / 1.527 GB, free: 15.24 MB / 1.248 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006341/1.382, allocations: 0.9346 MB / 1.528 GB, free: 14.3 MB / 1.248 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004428/1.387, allocations: 1.937 MB / 1.53 GB, free: 12.31 MB / 1.248 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001563/1.387, allocations: 193.1 kB / 1.53 GB, free: 12.12 MB / 1.248 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004359/1.387, allocations: 259.9 kB / 1.53 GB, free: 11.87 MB / 1.248 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005977/1.393, allocations: 3.338 MB / 1.533 GB, free: 8.426 MB / 1.248 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.982e-05/1.393, allocations: 7.938 kB / 1.533 GB, free: 8.418 MB / 1.248 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002701/1.394, allocations: 104 kB / 1.533 GB, free: 8.316 MB / 1.248 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001648/1.394, allocations: 141 kB / 1.533 GB, free: 8.176 MB / 1.248 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006228/1.4, allocations: 3.498 MB / 1.537 GB, free: 4.664 MB / 1.248 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.01759/1.418, allocations: 12.16 MB / 1.549 GB, free: 7.605 MB / 1.264 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004891/1.423, allocations: 3.521 MB / 1.552 GB, free: 4.016 MB / 1.264 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003036/1.426, allocations: 1.857 MB / 1.554 GB, free: 2.152 MB / 1.264 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001619/1.427, allocations: 1.489 MB / 1.555 GB, free: 356 kB / 1.264 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.816e-05/1.427, allocations: 64.75 kB / 1.556 GB, free: 280 kB / 1.264 GB Notification: Performance of pre-optimization done (n=278): time 4.328e-06/1.427, allocations: 0 / 1.556 GB, free: 280 kB / 1.264 GB Notification: Performance of matching and sorting (n=278): time 0.00702/1.435, allocations: 3.89 MB / 1.559 GB, free: 12.33 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.261e-05/1.435, allocations: 85.59 kB / 1.559 GB, free: 12.23 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002097/1.437, allocations: 1.379 MB / 1.561 GB, free: 10.85 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 0.0002073/1.437, allocations: 73.7 kB / 1.561 GB, free: 10.77 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007813/1.438, allocations: 0.9981 MB / 1.562 GB, free: 9.762 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009533/1.439, allocations: 0.9991 MB / 1.563 GB, free: 8.754 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006328/1.439, allocations: 405 kB / 1.563 GB, free: 8.352 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 0.0001361/1.439, allocations: 305.1 kB / 1.563 GB, free: 8.051 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001799/1.441, allocations: 1.098 MB / 1.565 GB, free: 6.949 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002014/1.443, allocations: 1.359 MB / 1.566 GB, free: 5.523 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00413/1.447, allocations: 2.646 MB / 1.568 GB, free: 2.785 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.641e-05/1.447, allocations: 0 / 1.568 GB, free: 2.785 MB / 1.279 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.005227/1.453, allocations: 2.987 MB / 1.571 GB, free: 15.75 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 3.097e-05/1.453, allocations: 7.984 kB / 1.571 GB, free: 15.74 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.733e-05/1.453, allocations: 7.938 kB / 1.571 GB, free: 15.73 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.17e-05/1.453, allocations: 16 kB / 1.571 GB, free: 15.72 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002157/1.455, allocations: 0.511 MB / 1.572 GB, free: 15.21 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.287e-05/1.455, allocations: 16 kB / 1.572 GB, free: 15.19 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002158/1.457, allocations: 194.8 kB / 1.572 GB, free: 15 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001804/1.457, allocations: 83.98 kB / 1.572 GB, free: 14.92 MB / 1.295 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 (311): * Single equations (assignments): 311 * 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.001268/1.459, allocations: 0.6416 MB / 1.573 GB, free: 14.27 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006406/1.459, allocations: 242.5 kB / 1.573 GB, free: 14.03 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005426/1.465, allocations: 3.112 MB / 1.576 GB, free: 10.86 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.663e-05/1.465, allocations: 28 kB / 1.576 GB, free: 10.83 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.353e-05/1.465, allocations: 0 / 1.576 GB, free: 10.83 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004086/1.469, allocations: 2.657 MB / 1.579 GB, free: 8.105 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0106/1.48, allocations: 6.221 MB / 1.585 GB, free: 1.781 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.201e-05/1.48, allocations: 0 / 1.585 GB, free: 1.781 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00251/1.482, allocations: 0.5422 MB / 1.585 GB, free: 1.238 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.045e-05/1.482, allocations: 12 kB / 1.585 GB, free: 1.227 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001728/1.482, allocations: 63.98 kB / 1.585 GB, free: 1.164 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.438e-05/1.482, allocations: 8 kB / 1.585 GB, free: 1.156 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/1.482, allocations: 4 kB / 1.585 GB, free: 1.152 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007275/1.49, allocations: 4.586 MB / 1.59 GB, free: 12.48 MB / 1.311 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001487/1.491, allocations: 0.616 MB / 1.59 GB, free: 11.84 MB / 1.311 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003867/1.492, allocations: 55.92 kB / 1.59 GB, free: 11.79 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001582/1.493, allocations: 66.61 kB / 1.591 GB, free: 11.73 MB / 1.311 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003575/1.494, allocations: 166 kB / 1.591 GB, free: 11.56 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001721/1.494, allocations: 83.97 kB / 1.591 GB, free: 11.48 MB / 1.311 GB Notification: Performance of sorting global known variables: time 0.00139/1.495, allocations: 0.9423 MB / 1.592 GB, free: 10.54 MB / 1.311 GB Notification: Performance of sort global known variables: time 2.6e-07/1.495, allocations: 0 / 1.592 GB, free: 10.54 MB / 1.311 GB Notification: Performance of remove unused functions: time 0.002316/1.497, allocations: 0.9905 MB / 1.593 GB, free: 9.551 MB / 1.311 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.00795/1.505, allocations: 5.401 MB / 1.598 GB, free: 4.062 MB / 1.311 GB Notification: Performance of simCode: created initialization part: time 0.004668/1.51, allocations: 2.77 MB / 1.601 GB, free: 1.262 MB / 1.311 GB Notification: Performance of simCode: created event and clocks part: time 5.581e-06/1.51, allocations: 0 / 1.601 GB, free: 1.262 MB / 1.311 GB Notification: Performance of simCode: created simulation system equations: time 0.002369/1.513, allocations: 1.515 MB / 1.602 GB, free: 15.74 MB / 1.326 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006587/1.519, allocations: 1.345 MB / 1.603 GB, free: 14.43 MB / 1.326 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.7005/2.22, allocations: 19.52 MB / 1.623 GB, free: 410.4 MB / 1.326 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00216/2.222, allocations: 1.896 MB / 1.624 GB, free: 409.6 MB / 1.326 GB Notification: Performance of simCode: alias equations: time 0.003316/2.225, allocations: 0.8403 MB / 1.625 GB, free: 409.5 MB / 1.326 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001847/2.227, allocations: 1.093 MB / 1.626 GB, free: 408.7 MB / 1.326 GB Notification: Performance of SimCode: time 1.393e-06/2.227, allocations: 0 / 1.626 GB, free: 408.7 MB / 1.326 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1429/2.37, allocations: 68.26 MB / 1.693 GB, free: 374.7 MB / 1.326 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.76/16.13, allocations: 4.594 kB / 1.693 GB, free: 374.7 MB / 1.326 GB " [Timeout remaining time 284] (rm -f Buildings_10_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; mkfifo Buildings_10_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; head -c 1048576 < Buildings_10_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe >> ../files/Buildings_10_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones_res.mat --tempDir=temp_Buildings_10_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy3Zones_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy3Zones.fmu > Buildings_10_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 22.161268420051783] Failed to read output from testmodel.py, exit status != 0: 16.23699414008297 16.25025904 14.884687252 Calling exit ...