Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy3Zones",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy3Zones",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006991/0.006991, allocations: 95.58 kB / 15.73 MB, free: 6.039 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001742/0.001742, allocations: 204.3 kB / 16.68 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.307/1.307, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.582/2.582, allocations: 482.6 MB / 0.755 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001734/0.001734, allocations: 63.91 kB / 1.083 GB, free: 12.29 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2691/0.2709, allocations: 162.3 MB / 1.242 GB, free: 9.883 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones): time 0.7736/1.044, allocations: 295.2 MB / 1.53 GB, free: 15.69 MB / 1.232 GB Notification: Performance of NFInst.instExpressions: time 0.0217/1.066, allocations: 17.03 MB / 1.547 GB, free: 14.62 MB / 1.248 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001815/1.068, allocations: 87.5 kB / 1.547 GB, free: 14.54 MB / 1.248 GB Notification: Performance of NFTyping.typeComponents: time 0.003643/1.072, allocations: 1.88 MB / 1.549 GB, free: 12.64 MB / 1.248 GB Notification: Performance of NFTyping.typeBindings: time 0.01227/1.084, allocations: 6.433 MB / 1.555 GB, free: 6.188 MB / 1.248 GB Notification: Performance of NFTyping.typeClassSections: time 0.00585/1.09, allocations: 2.942 MB / 1.558 GB, free: 3.246 MB / 1.248 GB Notification: Performance of NFFlatten.flatten: time 0.007765/1.098, allocations: 7.708 MB / 1.565 GB, free: 11.52 MB / 1.264 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002821/1.1, allocations: 2.589 MB / 1.568 GB, free: 8.875 MB / 1.264 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003839/1.104, allocations: 2.998 MB / 1.571 GB, free: 5.867 MB / 1.264 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003584/1.108, allocations: 2.667 MB / 1.573 GB, free: 3.203 MB / 1.264 GB Notification: Performance of NFPackage.collectConstants: time 0.0004428/1.108, allocations: 328 kB / 1.574 GB, free: 2.883 MB / 1.264 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00988/1.118, allocations: 6.153 MB / 1.58 GB, free: 12.71 MB / 1.279 GB Notification: Performance of NFScalarize.scalarize: time 0.001164/1.119, allocations: 1.317 MB / 1.581 GB, free: 11.39 MB / 1.279 GB Notification: Performance of NFVerifyModel.verify: time 0.00184/1.121, allocations: 1.879 MB / 1.583 GB, free: 9.508 MB / 1.279 GB Notification: Performance of NFConvertDAE.convert: time 0.008548/1.13, allocations: 6.9 MB / 1.59 GB, free: 2.586 MB / 1.279 GB Notification: Performance of FrontEnd - DAE generated: time 2.895e-06/1.13, allocations: 0 / 1.59 GB, free: 2.586 MB / 1.279 GB Notification: Performance of FrontEnd: time 3.076e-06/1.13, allocations: 0 / 1.59 GB, free: 2.586 MB / 1.279 GB Notification: Performance of Transformations before backend: time 2.883e-05/1.13, allocations: 3.938 kB / 1.59 GB, free: 2.582 MB / 1.279 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.008242/1.138, allocations: 4.203 MB / 1.594 GB, free: 14.3 MB / 1.295 GB Notification: Performance of prepare preOptimizeDAE: time 3.657e-05/1.138, allocations: 12.03 kB / 1.594 GB, free: 14.29 MB / 1.295 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004272/1.139, allocations: 371.5 kB / 1.594 GB, free: 13.92 MB / 1.295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005285/1.144, allocations: 0.9346 MB / 1.595 GB, free: 12.98 MB / 1.295 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002688/1.147, allocations: 1.897 MB / 1.597 GB, free: 11.03 MB / 1.295 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001324/1.147, allocations: 197.1 kB / 1.597 GB, free: 10.84 MB / 1.295 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003536/1.147, allocations: 259.9 kB / 1.597 GB, free: 10.58 MB / 1.295 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004893/1.152, allocations: 3.418 MB / 1.601 GB, free: 7.062 MB / 1.295 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.288e-05/1.152, allocations: 7.938 kB / 1.601 GB, free: 7.055 MB / 1.295 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002415/1.152, allocations: 108 kB / 1.601 GB, free: 6.949 MB / 1.295 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001544/1.152, allocations: 161.1 kB / 1.601 GB, free: 6.789 MB / 1.295 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00543/1.158, allocations: 3.631 MB / 1.604 GB, free: 3.145 MB / 1.295 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.01341/1.171, allocations: 12.56 MB / 1.617 GB, free: 5.633 MB / 1.311 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004369/1.176, allocations: 3.51 MB / 1.62 GB, free: 2.047 MB / 1.311 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002696/1.178, allocations: 1.857 MB / 1.622 GB, free: 192 kB / 1.311 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001458/1.18, allocations: 1.485 MB / 1.623 GB, free: 14.39 MB / 1.326 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.18e-05/1.18, allocations: 68.73 kB / 1.623 GB, free: 14.31 MB / 1.326 GB Notification: Performance of pre-optimization done (n=278): time 3.487e-06/1.18, allocations: 0 / 1.623 GB, free: 14.31 MB / 1.326 GB Notification: Performance of matching and sorting (n=278): time 0.00598/1.186, allocations: 3.894 MB / 1.627 GB, free: 10.36 MB / 1.326 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.408e-05/1.186, allocations: 81.59 kB / 1.627 GB, free: 10.27 MB / 1.326 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001624/1.188, allocations: 1.399 MB / 1.629 GB, free: 8.863 MB / 1.326 GB Notification: Performance of collectPreVariables (initialization): time 0.0001395/1.188, allocations: 77.7 kB / 1.629 GB, free: 8.781 MB / 1.326 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007103/1.189, allocations: 1.036 MB / 1.63 GB, free: 7.734 MB / 1.326 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007466/1.189, allocations: 0.9991 MB / 1.631 GB, free: 6.727 MB / 1.326 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006315/1.19, allocations: 441.4 kB / 1.631 GB, free: 6.289 MB / 1.326 GB Notification: Performance of setup shared object (initialization): time 0.0001049/1.19, allocations: 301.1 kB / 1.631 GB, free: 5.992 MB / 1.326 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001752/1.192, allocations: 1.149 MB / 1.633 GB, free: 4.84 MB / 1.326 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001958/1.194, allocations: 1.419 MB / 1.634 GB, free: 3.355 MB / 1.326 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003886/1.198, allocations: 2.723 MB / 1.637 GB, free: 0.543 MB / 1.326 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.692e-06/1.198, allocations: 4 kB / 1.637 GB, free: 0.5391 MB / 1.326 GB Notification: Performance of matching and sorting (n=332) (initialization): time 0.004577/1.202, allocations: 3.111 MB / 1.64 GB, free: 13.39 MB / 1.342 GB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/1.202, allocations: 8 kB / 1.64 GB, free: 13.38 MB / 1.342 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.361e-05/1.202, allocations: 7.984 kB / 1.64 GB, free: 13.37 MB / 1.342 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.642e-05/1.202, allocations: 19.94 kB / 1.64 GB, free: 13.35 MB / 1.342 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00209/1.204, allocations: 0.5426 MB / 1.64 GB, free: 12.81 MB / 1.342 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.536e-05/1.204, allocations: 23.98 kB / 1.64 GB, free: 12.79 MB / 1.342 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001716/1.206, allocations: 210.4 kB / 1.64 GB, free: 12.58 MB / 1.342 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001603/1.206, allocations: 84 kB / 1.641 GB, free: 12.5 MB / 1.342 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.0009079/1.207, allocations: 0.6494 MB / 1.641 GB, free: 11.84 MB / 1.342 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003456/1.208, allocations: 238.5 kB / 1.641 GB, free: 11.6 MB / 1.342 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004802/1.212, allocations: 3.122 MB / 1.644 GB, free: 8.426 MB / 1.342 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.877e-05/1.212, allocations: 27.94 kB / 1.645 GB, free: 8.398 MB / 1.342 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.513e-06/1.212, allocations: 0 / 1.645 GB, free: 8.398 MB / 1.342 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003727/1.216, allocations: 2.661 MB / 1.647 GB, free: 5.668 MB / 1.342 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008267/1.224, allocations: 6.221 MB / 1.653 GB, free: 15.34 MB / 1.357 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.11e-06/1.224, allocations: 0 / 1.653 GB, free: 15.34 MB / 1.357 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002257/1.227, allocations: 0.5462 MB / 1.654 GB, free: 14.79 MB / 1.357 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.041e-05/1.227, allocations: 8 kB / 1.654 GB, free: 14.79 MB / 1.357 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000141/1.227, allocations: 59.98 kB / 1.654 GB, free: 14.73 MB / 1.357 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.034e-05/1.227, allocations: 8 kB / 1.654 GB, free: 14.72 MB / 1.357 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/1.227, allocations: 0 / 1.654 GB, free: 14.72 MB / 1.357 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006213/1.233, allocations: 4.582 MB / 1.658 GB, free: 10.05 MB / 1.357 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008494/1.234, allocations: 0.6276 MB / 1.659 GB, free: 9.402 MB / 1.357 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002692/1.234, allocations: 48 kB / 1.659 GB, free: 9.355 MB / 1.357 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001357/1.236, allocations: 70.41 kB / 1.659 GB, free: 9.289 MB / 1.357 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003043/1.236, allocations: 165.9 kB / 1.659 GB, free: 9.125 MB / 1.357 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001554/1.236, allocations: 79.97 kB / 1.659 GB, free: 9.047 MB / 1.357 GB Notification: Performance of sorting global known variables: time 0.001118/1.237, allocations: 0.9462 MB / 1.66 GB, free: 8.105 MB / 1.357 GB Notification: Performance of sort global known variables: time 1.21e-07/1.237, allocations: 0 / 1.66 GB, free: 8.105 MB / 1.357 GB Notification: Performance of remove unused functions: time 0.001636/1.239, allocations: 1.006 MB / 1.661 GB, free: 7.098 MB / 1.357 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.006887/1.246, allocations: 5.403 MB / 1.666 GB, free: 1.609 MB / 1.357 GB Notification: Performance of simCode: created initialization part: time 0.003884/1.25, allocations: 2.849 MB / 1.669 GB, free: 14.73 MB / 1.373 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/1.25, allocations: 0 / 1.669 GB, free: 14.73 MB / 1.373 GB Notification: Performance of simCode: created simulation system equations: time 0.001947/1.252, allocations: 1.508 MB / 1.671 GB, free: 13.22 MB / 1.373 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004818/1.256, allocations: 1.348 MB / 1.672 GB, free: 11.9 MB / 1.373 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02528/1.282, allocations: 19.7 MB / 1.691 GB, free: 7.848 MB / 1.389 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001438/1.283, allocations: 1.903 MB / 1.693 GB, free: 5.906 MB / 1.389 GB Notification: Performance of simCode: alias equations: time 0.002303/1.286, allocations: 0.8712 MB / 1.694 GB, free: 5.031 MB / 1.389 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001439/1.287, allocations: 1.089 MB / 1.695 GB, free: 3.941 MB / 1.389 GB Notification: Performance of SimCode: time 3.41e-07/1.287, allocations: 4 kB / 1.695 GB, free: 3.938 MB / 1.389 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.829/5.116, allocations: 68.41 MB / 1.762 GB, free: 204 kB / 1.451 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.24/17.35, allocations: 8.688 kB / 1.762 GB, free: 196 kB / 1.451 GB (rm -f Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones_res.mat --tempDir=temp_Buildings_latest_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy3Zones_fmu --startTime=0 --stopTime=3600 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_Airflow_Multizone_Examples_ReverseBuoyancy3Zones.fmu > Buildings_latest_Buildings.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe 2>&1)