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.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001262/0.001262, allocations: 99.31 kB / 15.05 MB, free: 1.105 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.001473/0.001474, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.477/1.477, allocations: 223.2 MB / 239.9 MB, free: 5.277 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8917/0.8917, allocations: 132.2 MB / 423.2 MB, free: 2.121 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003388/0.0003389, allocations: 8 kB / 0.5033 GB, free: 4.145 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4808/0.4811, allocations: 81.57 MB / 0.583 GB, free: 3.984 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy3Zones): time 0.288/0.7692, allocations: 239.4 MB / 0.8167 GB, free: 0.5977 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.3611/1.13, allocations: 17.09 MB / 0.8334 GB, free: 7.98 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002972/1.133, allocations: 64.47 kB / 0.8335 GB, free: 7.98 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.004277/1.138, allocations: 1.651 MB / 0.8351 GB, free: 7.977 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.01434/1.152, allocations: 4.928 MB / 0.8399 GB, free: 7.922 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.00666/1.159, allocations: 2.196 MB / 0.8421 GB, free: 7.879 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.007634/1.166, allocations: 4.391 MB / 0.8463 GB, free: 7.859 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002924/1.169, allocations: 1.947 MB / 0.8482 GB, free: 7.582 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004707/1.174, allocations: 2.28 MB / 0.8505 GB, free: 7.574 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003088/1.177, allocations: 1.718 MB / 0.8521 GB, free: 7.559 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0004896/1.178, allocations: 157.3 kB / 0.8523 GB, free: 7.559 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008142/1.186, allocations: 2.427 MB / 0.8547 GB, free: 7.559 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.001505/1.187, allocations: 1.049 MB / 0.8557 GB, free: 7.555 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.001657/1.189, allocations: 0.662 MB / 0.8563 GB, free: 23.52 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.005664/1.195, allocations: 4.084 MB / 0.8603 GB, free: 23.21 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 2.776e-06/1.195, allocations: 0 / 0.8603 GB, free: 23.21 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.914e-06/1.195, allocations: 0 / 0.8603 GB, free: 23.21 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 8.616e-05/1.195, allocations: 0 / 0.8603 GB, free: 23.21 MB / 0.6544 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.008314/1.203, allocations: 3.454 MB / 0.8637 GB, free: 21.68 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.966e-05/1.203, allocations: 13.39 kB / 0.8637 GB, free: 21.68 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005314/1.204, allocations: 369.1 kB / 0.8641 GB, free: 21.63 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006247/1.21, allocations: 0.938 MB / 0.865 GB, free: 21.45 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003372/1.213, allocations: 1.773 MB / 0.8667 GB, free: 20.99 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.354e-05/1.213, allocations: 202.1 kB / 0.8669 GB, free: 20.98 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003321/1.214, allocations: 260.2 kB / 0.8672 GB, free: 20.98 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004867/1.219, allocations: 3.291 MB / 0.8704 GB, free: 20.68 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.565e-05/1.219, allocations: 2.969 kB / 0.8704 GB, free: 20.68 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002416/1.219, allocations: 110.6 kB / 0.8705 GB, free: 20.68 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001257/1.219, allocations: 136.3 kB / 0.8706 GB, free: 20.68 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005442/1.225, allocations: 3.474 MB / 0.874 GB, free: 20.09 MB / 0.6544 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.01505/1.24, allocations: 12.07 MB / 0.8858 GB, free: 12.3 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004017/1.244, allocations: 3.461 MB / 0.8892 GB, free: 11.42 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001348/1.245, allocations: 1.5 MB / 0.8906 GB, free: 9.766 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.902e-05/1.245, allocations: 69.83 kB / 0.8907 GB, free: 9.715 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=278): time 4.429e-06/1.245, allocations: 5.031 kB / 0.8907 GB, free: 9.715 MB / 0.6544 GB Notification: Performance of matching and sorting (n=278): time 0.005915/1.251, allocations: 3.841 MB / 0.8945 GB, free: 9.047 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.242e-05/1.251, allocations: 84.53 kB / 0.8945 GB, free: 8.98 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001787/1.253, allocations: 1.371 MB / 0.8959 GB, free: 8.586 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0002566/1.253, allocations: 75.45 kB / 0.8959 GB, free: 8.555 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004818/1.254, allocations: 0.9873 MB / 0.8969 GB, free: 8.062 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007249/1.254, allocations: 0.9403 MB / 0.8978 GB, free: 7.367 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000115/1.255, allocations: 48.78 kB / 0.8979 GB, free: 7.367 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001526/1.255, allocations: 403.2 kB / 0.8983 GB, free: 7.031 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00177/1.257, allocations: 1.074 MB / 0.8993 GB, free: 6.871 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001782/1.258, allocations: 1.355 MB / 0.9006 GB, free: 6.469 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001745/1.26, allocations: 1.275 MB / 0.9019 GB, free: 6.312 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.765e-06/1.26, allocations: 2.906 kB / 0.9019 GB, free: 6.312 MB / 0.6544 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.004363/1.264, allocations: 2.943 MB / 0.9048 GB, free: 5.797 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.137e-05/1.265, allocations: 5.406 kB / 0.9048 GB, free: 5.797 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.53e-05/1.265, allocations: 9.078 kB / 0.9048 GB, free: 5.793 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.536e-05/1.265, allocations: 18.19 kB / 0.9048 GB, free: 5.793 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002086/1.267, allocations: 0.5046 MB / 0.9053 GB, free: 5.734 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.366e-05/1.267, allocations: 16.09 kB / 0.9053 GB, free: 5.734 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002739/1.269, allocations: 338.9 kB / 0.9056 GB, free: 5.566 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001477/1.27, allocations: 88.72 kB / 0.9057 GB, free: 5.559 MB / 0.6544 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001136/1.271, allocations: 0.6418 MB / 0.9063 GB, free: 5.379 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004345/1.271, allocations: 233 kB / 0.9066 GB, free: 5.266 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004327/1.276, allocations: 3.088 MB / 0.9096 GB, free: 4.641 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.577e-05/1.276, allocations: 24.41 kB / 0.9096 GB, free: 4.641 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.736e-06/1.276, allocations: 3.391 kB / 0.9096 GB, free: 4.641 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003252/1.279, allocations: 2.626 MB / 0.9122 GB, free: 4.113 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009132/1.288, allocations: 6.165 MB / 0.9182 GB, free: 20 kB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.153e-06/1.288, allocations: 0 / 0.9182 GB, free: 20 kB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002639/1.291, allocations: 0.553 MB / 0.9187 GB, free: 15.51 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.013e-05/1.291, allocations: 11.95 kB / 0.9187 GB, free: 15.5 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001758/1.291, allocations: 64.28 kB / 0.9188 GB, free: 15.47 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.928e-05/1.291, allocations: 8 kB / 0.9188 GB, free: 15.46 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/1.291, allocations: 0 / 0.9188 GB, free: 15.46 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006586/1.297, allocations: 4.769 MB / 0.9235 GB, free: 12.27 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0015/1.299, allocations: 0.6042 MB / 0.924 GB, free: 11.78 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000314/1.299, allocations: 60.41 kB / 0.9241 GB, free: 11.76 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001953/1.301, allocations: 223.9 kB / 0.9243 GB, free: 11.58 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002705/1.302, allocations: 164.2 kB / 0.9245 GB, free: 11.43 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001553/1.302, allocations: 81.09 kB / 0.9246 GB, free: 11.38 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.00119/1.303, allocations: 0.9347 MB / 0.9255 GB, free: 10.7 MB / 0.67 GB Notification: Performance of sort global known variables: time 2.01e-07/1.303, allocations: 0 / 0.9255 GB, free: 10.7 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.002051/1.305, allocations: 0.9748 MB / 0.9264 GB, free: 9.801 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 18 (volEas.dynBal.U,volEas.dynBal.m,volEas.dynBal.mXi[1],oriOutBot.mExc,oriOutTop.mExc,volOut.dynBal.U,volOut.dynBal.m,volOut.dynBal.mXi[1],oriWesTop.mExc,dooOpeClo.mExcAB,dooOpeClo.mExcBA,oriEasTop.mExc,volTop.dynBal.U,volTop.dynBal.m,volTop.dynBal.mXi[1],volWes.dynBal.U,volWes.dynBal.m,volWes.dynBal.mXi[1]) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00673/1.312, allocations: 5.582 MB / 0.9319 GB, free: 5.871 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.003954/1.316, allocations: 2.744 MB / 0.9345 GB, free: 3.988 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 4.458e-06/1.316, allocations: 0 / 0.9345 GB, free: 3.988 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.001825/1.318, allocations: 1.495 MB / 0.936 GB, free: 3 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005673/1.323, allocations: 1.254 MB / 0.9372 GB, free: 1.988 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01238/1.336, allocations: 11.73 MB / 0.9487 GB, free: 6.914 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001319/1.337, allocations: 1.947 MB / 0.9506 GB, free: 5.023 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.002963/1.34, allocations: 0.8358 MB / 0.9514 GB, free: 4.184 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001262/1.341, allocations: 1.088 MB / 0.9525 GB, free: 3.918 MB / 0.6856 GB Notification: Performance of SimCode: time 1.002e-06/1.341, allocations: 0 / 0.9525 GB, free: 3.918 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.99/3.331, allocations: 66.65 MB / 1.018 GB, free: 2.199 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001934/3.331, allocations: 186.5 kB / 1.018 GB, free: 1.953 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.517/8.848, allocations: 0 / 1.018 GB, free: 1.953 MB / 0.7481 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Airflow_Multizone_Examples_ReverseBuoyancy3Zones_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Airflow_Multizone_Examples_ReverseBuoyancy3Zones.fmu > IDEAS_IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe 2>&1) Environment - environmentSimulation: