Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy.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.ReverseBuoyancy,fileNamePrefix="IDEAS_IDEAS_Airflow_Multizone_Examples_ReverseBuoyancy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy,fileNamePrefix="IDEAS_IDEAS_Airflow_Multizone_Examples_ReverseBuoyancy",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.005573/0.005573, allocations: 103.1 kB / 15.73 MB, free: 6.062 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.00115/0.00115, allocations: 193.8 kB / 16.67 MB, free: 5.973 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.229/1.229, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7317/0.7317, allocations: 132.2 MB / 422.7 MB, free: 6.57 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001282/0.001282, allocations: 70.17 kB / 0.5809 GB, free: 23.98 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1375/0.1388, allocations: 80.2 MB / 0.6592 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy): time 0.6225/0.7614, allocations: 314.1 MB / 0.966 GB, free: 11.53 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0265/0.7879, allocations: 18.42 MB / 0.9839 GB, free: 9.055 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003854/0.7918, allocations: 91.56 kB / 0.984 GB, free: 8.965 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.006014/0.7978, allocations: 2.148 MB / 0.9861 GB, free: 6.805 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.01773/0.8157, allocations: 7.3 MB / 0.9933 GB, free: 15.48 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.008486/0.8242, allocations: 3.222 MB / 0.9964 GB, free: 12.26 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.01144/0.8356, allocations: 9.095 MB / 1.005 GB, free: 3.137 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005437/0.8411, allocations: 3.118 MB / 1.008 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006456/0.8476, allocations: 3.356 MB / 1.012 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006326/0.8539, allocations: 3.232 MB / 1.015 GB, free: 9.367 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.00166/0.8556, allocations: 404 kB / 1.015 GB, free: 8.973 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01443/0.87, allocations: 6.991 MB / 1.022 GB, free: 1.965 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.002807/0.8729, allocations: 1.695 MB / 1.024 GB, free: 272 kB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.005319/0.8782, allocations: 2.307 MB / 1.026 GB, free: 13.95 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.01585/0.8941, allocations: 8.191 MB / 1.034 GB, free: 5.738 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 7.995e-06/0.8941, allocations: 3.938 kB / 1.034 GB, free: 5.734 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.753e-06/0.8941, allocations: 3.938 kB / 1.034 GB, free: 5.73 MB / 0.795 GB Notification: Performance of Transformations before backend: time 0.000207/0.8944, allocations: 0 / 1.034 GB, free: 5.73 MB / 0.795 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 843 * Number of variables: 843 Notification: Performance of Generate backend data structure: time 0.01519/0.9096, allocations: 5 MB / 1.039 GB, free: 0.6602 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.729e-05/0.9096, allocations: 8.031 kB / 1.039 GB, free: 0.6523 MB / 0.795 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001125/0.9108, allocations: 459.5 kB / 1.039 GB, free: 196 kB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00702/0.9178, allocations: 1.006 MB / 1.04 GB, free: 15.18 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004708/0.9225, allocations: 2.248 MB / 1.042 GB, free: 12.88 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002068/0.9227, allocations: 250.4 kB / 1.043 GB, free: 12.63 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008065/0.9236, allocations: 332 kB / 1.043 GB, free: 12.3 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008178/0.9318, allocations: 4.231 MB / 1.047 GB, free: 7.988 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001002/0.9319, allocations: 0 / 1.047 GB, free: 7.988 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005086/0.9324, allocations: 143.9 kB / 1.047 GB, free: 7.848 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001831/0.9326, allocations: 170.3 kB / 1.047 GB, free: 7.68 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008331/0.9409, allocations: 4.772 MB / 1.052 GB, free: 2.898 MB / 0.8106 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.3296/1.271, allocations: 14.4 MB / 1.066 GB, free: 304.4 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007795/1.278, allocations: 4.531 MB / 1.071 GB, free: 302.4 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003941/1.282, allocations: 2.456 MB / 1.073 GB, free: 301.5 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001374/1.284, allocations: 1.61 MB / 1.075 GB, free: 299.8 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.902e-05/1.284, allocations: 77.61 kB / 1.075 GB, free: 299.7 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=392): time 6.402e-06/1.284, allocations: 3.703 kB / 1.075 GB, free: 299.7 MB / 0.8106 GB Notification: Performance of matching and sorting (n=392): time 0.01059/1.294, allocations: 5.527 MB / 1.08 GB, free: 297.7 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.983e-05/1.295, allocations: 92.36 kB / 1.08 GB, free: 297.6 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002936/1.297, allocations: 1.693 MB / 1.082 GB, free: 296.9 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 0.0003189/1.298, allocations: 94.3 kB / 1.082 GB, free: 296.9 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007217/1.299, allocations: 1.13 MB / 1.083 GB, free: 296.1 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009643/1.299, allocations: 1.315 MB / 1.084 GB, free: 295 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001001/1.3, allocations: 0.5558 MB / 1.085 GB, free: 294.8 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 4.384e-05/1.301, allocations: 306.4 kB / 1.085 GB, free: 294.5 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002403/1.303, allocations: 1.562 MB / 1.087 GB, free: 293.9 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002581/1.306, allocations: 1.944 MB / 1.088 GB, free: 293.1 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004688/1.31, allocations: 3.766 MB / 1.092 GB, free: 291.4 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.885e-06/1.31, allocations: 0 / 1.092 GB, free: 291.4 MB / 0.8106 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.005733/1.316, allocations: 4.173 MB / 1.096 GB, free: 289.6 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.16e-05/1.316, allocations: 7.781 kB / 1.096 GB, free: 289.6 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.686e-05/1.316, allocations: 7.938 kB / 1.096 GB, free: 289.6 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.095e-05/1.316, allocations: 15.81 kB / 1.096 GB, free: 289.6 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002664/1.319, allocations: 0.694 MB / 1.097 GB, free: 289.5 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.628e-05/1.319, allocations: 23.75 kB / 1.097 GB, free: 289.5 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002574/1.321, allocations: 272.2 kB / 1.097 GB, free: 289.3 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002351/1.322, allocations: 114.4 kB / 1.097 GB, free: 289.2 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (430): * Single equations (assignments): 430 * 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.00143/1.323, allocations: 0.8002 MB / 1.098 GB, free: 288.7 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008379/1.324, allocations: 289.8 kB / 1.098 GB, free: 288.5 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006206/1.33, allocations: 4.415 MB / 1.103 GB, free: 286.1 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.951e-05/1.33, allocations: 43.56 kB / 1.103 GB, free: 286.1 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.298e-05/1.33, allocations: 0 / 1.103 GB, free: 286.1 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004368/1.335, allocations: 3.782 MB / 1.106 GB, free: 283.9 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0129/1.348, allocations: 8.628 MB / 1.115 GB, free: 275.3 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.268e-05/1.348, allocations: 4 kB / 1.115 GB, free: 275.3 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003023/1.351, allocations: 0.7325 MB / 1.116 GB, free: 274.5 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.979e-05/1.351, allocations: 16 kB / 1.116 GB, free: 274.5 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002926/1.351, allocations: 83.97 kB / 1.116 GB, free: 274.4 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.177e-05/1.351, allocations: 18.59 kB / 1.116 GB, free: 274.4 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.2e-06/1.351, allocations: 7.938 kB / 1.116 GB, free: 274.4 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00807/1.359, allocations: 6.825 MB / 1.122 GB, free: 267.5 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001643/1.361, allocations: 0.8011 MB / 1.123 GB, free: 266.7 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006639/1.361, allocations: 72 kB / 1.123 GB, free: 266.6 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002177/1.364, allocations: 90.69 kB / 1.123 GB, free: 266.5 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003569/1.364, allocations: 230.6 kB / 1.124 GB, free: 266.3 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002222/1.364, allocations: 119.8 kB / 1.124 GB, free: 266.2 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.001626/1.366, allocations: 1.153 MB / 1.125 GB, free: 265 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.51e-07/1.366, allocations: 3.219 kB / 1.125 GB, free: 265 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.003425/1.369, allocations: 1.23 MB / 1.126 GB, free: 263.8 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 20 (volBotEas.dynBal.U,volBotEas.dynBal.m,volBotEas.dynBal.mXi[1],oriOutBot.mExc,oriOutTop.mExc,oriWesTop.mExc,dooOpeClo.mExcAB,dooOpeClo.mExcBA,volBotWes.dynBal.U,volBotWes.dynBal.m,volBotWes.dynBal.mXi[1],oriEasTop.mExc,volTopEas.dynBal.U,volTopEas.dynBal.m,volTopEas.dynBal.mXi[1],volTopWes.dynBal.U,volTopWes.dynBal.m,volTopWes.dynBal.mXi[1],dooOpeCloTop.mExcAB,dooOpeCloTop.mExcBA) * 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 (392): * Single equations (assignments): 392 * 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.009432/1.379, allocations: 7.746 MB / 1.134 GB, free: 256 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.005095/1.384, allocations: 3.951 MB / 1.137 GB, free: 252.1 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 8.235e-06/1.384, allocations: 4 kB / 1.137 GB, free: 252.1 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.002451/1.386, allocations: 2.156 MB / 1.139 GB, free: 249.9 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006616/1.393, allocations: 1.605 MB / 1.141 GB, free: 248.5 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0353/1.428, allocations: 25.64 MB / 1.166 GB, free: 222.6 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001713/1.43, allocations: 2.203 MB / 1.168 GB, free: 220.4 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.003337/1.433, allocations: 1.204 MB / 1.169 GB, free: 219.2 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001637/1.435, allocations: 1.386 MB / 1.171 GB, free: 217.8 MB / 0.8106 GB Notification: Performance of SimCode: time 7.91e-07/1.435, allocations: 0 / 1.171 GB, free: 217.8 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1111/1.546, allocations: 87.12 MB / 1.256 GB, free: 131.2 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.17/14.72, allocations: 10.69 kB / 1.256 GB, free: 131.2 MB / 0.8106 GB (rm -f IDEAS_IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy.pipe ; mkfifo IDEAS_IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy.pipe ; head -c 1048576 < IDEAS_IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy.pipe >> ../files/IDEAS_IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Airflow_Multizone_Examples_ReverseBuoyancy_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Airflow_Multizone_Examples_ReverseBuoyancy.fmu > IDEAS_IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy.pipe 2>&1)