Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Airflow.Multizone.Examples.OneRoom.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Airflow.Multizone.Examples.OneRoom,fileNamePrefix="IBPSA_latest_IBPSA_Airflow_Multizone_Examples_OneRoom",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Airflow.Multizone.Examples.OneRoom,fileNamePrefix="IBPSA_latest_IBPSA_Airflow_Multizone_Examples_OneRoom",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.001301/0.001301, allocations: 103.1 kB / 16.4 MB, free: 6.508 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.001321/0.001321, allocations: 192 kB / 17.34 MB, free: 5.738 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.346/1.346, allocations: 222.9 MB / 241 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7803/0.7803, allocations: 126.7 MB / 417.9 MB, free: 12.26 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001822/0.001822, allocations: 73.31 kB / 0.5735 GB, free: 27.11 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1334/0.1352, allocations: 78.86 MB / 0.6505 GB, free: 3.605 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Airflow.Multizone.Examples.OneRoom): time 0.5254/0.6606, allocations: 213.7 MB / 0.8592 GB, free: 11.8 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01452/0.6752, allocations: 10.21 MB / 0.8692 GB, free: 3.293 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001622/0.6769, allocations: 39.81 kB / 0.8692 GB, free: 3.254 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.002447/0.6794, allocations: 0.8352 MB / 0.87 GB, free: 2.414 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.007654/0.687, allocations: 2.893 MB / 0.8729 GB, free: 15.5 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.003824/0.6909, allocations: 1.421 MB / 0.8742 GB, free: 14.09 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.004699/0.6956, allocations: 3.156 MB / 0.8773 GB, free: 10.92 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001711/0.6973, allocations: 1.033 MB / 0.8783 GB, free: 9.875 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002468/0.6998, allocations: 1.242 MB / 0.8795 GB, free: 8.629 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002406/0.7022, allocations: 1.072 MB / 0.8806 GB, free: 7.562 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0003136/0.7026, allocations: 124 kB / 0.8807 GB, free: 7.441 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005552/0.7081, allocations: 2.724 MB / 0.8834 GB, free: 4.711 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.000723/0.7089, allocations: 494.7 kB / 0.8838 GB, free: 4.227 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.001378/0.7103, allocations: 0.7273 MB / 0.8845 GB, free: 3.496 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.005351/0.7156, allocations: 2.827 MB / 0.8873 GB, free: 0.6602 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.7157, allocations: 0 / 0.8873 GB, free: 0.6602 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.633e-06/0.7157, allocations: 7.938 kB / 0.8873 GB, free: 0.6523 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 2.853e-05/0.7157, allocations: 0 / 0.8873 GB, free: 0.6523 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 244 * Number of variables: 244 Notification: Performance of Generate backend data structure: time 0.00402/0.7197, allocations: 1.836 MB / 0.8891 GB, free: 14.76 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.859e-05/0.7198, allocations: 8.031 kB / 0.8891 GB, free: 14.75 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001858/0.72, allocations: 148.1 kB / 0.8893 GB, free: 14.6 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002851/0.7228, allocations: 446.4 kB / 0.8897 GB, free: 14.16 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001518/0.7244, allocations: 0.8987 MB / 0.8906 GB, free: 13.22 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.024e-05/0.7244, allocations: 74 kB / 0.8906 GB, free: 13.15 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001544/0.7246, allocations: 92 kB / 0.8907 GB, free: 13.06 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002001/0.7266, allocations: 1.194 MB / 0.8919 GB, free: 11.83 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.114e-05/0.7267, allocations: 8 kB / 0.8919 GB, free: 11.82 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001018/0.7268, allocations: 43.98 kB / 0.8919 GB, free: 11.78 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.577e-05/0.7268, allocations: 57.91 kB / 0.892 GB, free: 11.72 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001892/0.7287, allocations: 1.07 MB / 0.893 GB, free: 10.65 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.00589/0.7346, allocations: 4.914 MB / 0.8978 GB, free: 5.305 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001533/0.7362, allocations: 0.9919 MB / 0.8988 GB, free: 4.266 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001089/0.7373, allocations: 0.5986 MB / 0.8994 GB, free: 3.664 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006907/0.738, allocations: 0.6772 MB / 0.9 GB, free: 2.84 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.642e-05/0.738, allocations: 43.22 kB / 0.9001 GB, free: 2.789 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=82): time 2.775e-06/0.7381, allocations: 0 / 0.9001 GB, free: 2.789 MB / 0.6544 GB Notification: Performance of matching and sorting (n=83): time 0.004276/0.7423, allocations: 2.314 MB / 0.9023 GB, free: 428 kB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.925e-05/0.7424, allocations: 60.41 kB / 0.9024 GB, free: 356 kB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008145/0.7432, allocations: 0.645 MB / 0.903 GB, free: 15.7 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 6.736e-05/0.7433, allocations: 45.7 kB / 0.9031 GB, free: 15.65 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003439/0.7437, allocations: 457 kB / 0.9035 GB, free: 15.2 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002671/0.7439, allocations: 317.2 kB / 0.9038 GB, free: 14.88 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002267/0.7442, allocations: 130.6 kB / 0.9039 GB, free: 14.75 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001961/0.7444, allocations: 394.7 kB / 0.9043 GB, free: 14.36 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00054/0.7449, allocations: 321.8 kB / 0.9046 GB, free: 14.04 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006232/0.7455, allocations: 430.5 kB / 0.905 GB, free: 13.59 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001199/0.7467, allocations: 0.7807 MB / 0.9058 GB, free: 12.79 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.7468, allocations: 0 / 0.9058 GB, free: 12.79 MB / 0.67 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.00161/0.7484, allocations: 0.9509 MB / 0.9067 GB, free: 11.83 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.68e-05/0.7484, allocations: 11.94 kB / 0.9067 GB, free: 11.82 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.403e-06/0.7484, allocations: 3.938 kB / 0.9067 GB, free: 11.81 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000257/0.7487, allocations: 60.83 kB / 0.9068 GB, free: 11.75 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000674/0.7494, allocations: 151.8 kB / 0.9069 GB, free: 11.6 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005255/0.7499, allocations: 0.6109 MB / 0.9075 GB, free: 10.96 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007391/0.7507, allocations: 23.98 kB / 0.9076 GB, free: 10.94 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.46e-05/0.7507, allocations: 27.94 kB / 0.9076 GB, free: 10.91 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (92): * Single equations (assignments): 91 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.000478/0.7512, allocations: 309.5 kB / 0.9079 GB, free: 10.6 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001574/0.7514, allocations: 91.5 kB / 0.908 GB, free: 10.51 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001651/0.753, allocations: 0.9378 MB / 0.9089 GB, free: 9.559 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.395e-06/0.7531, allocations: 12 kB / 0.9089 GB, free: 9.547 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.59e-06/0.7531, allocations: 0 / 0.9089 GB, free: 9.547 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001289/0.7544, allocations: 0.9309 MB / 0.9098 GB, free: 8.566 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003125/0.7575, allocations: 2.102 MB / 0.9119 GB, free: 6.414 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.858e-06/0.7575, allocations: 0 / 0.9119 GB, free: 6.414 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009134/0.7584, allocations: 199.7 kB / 0.9121 GB, free: 6.219 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.163e-06/0.7584, allocations: 7.922 kB / 0.9121 GB, free: 6.211 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.202e-05/0.7585, allocations: 16 kB / 0.9121 GB, free: 6.195 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.931e-06/0.7585, allocations: 4 kB / 0.9121 GB, free: 6.191 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.7585, allocations: 0 / 0.9121 GB, free: 6.191 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002023/0.7605, allocations: 1.393 MB / 0.9134 GB, free: 4.781 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003717/0.7609, allocations: 256.4 kB / 0.9137 GB, free: 4.512 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001135/0.7611, allocations: 19.94 kB / 0.9137 GB, free: 4.492 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006193/0.7617, allocations: 25.7 kB / 0.9137 GB, free: 4.469 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001247/0.7618, allocations: 48.94 kB / 0.9138 GB, free: 4.422 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.825e-05/0.7619, allocations: 31.98 kB / 0.9138 GB, free: 4.391 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0005566/0.7624, allocations: 451 kB / 0.9142 GB, free: 3.957 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7624, allocations: 0 / 0.9142 GB, free: 3.957 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0007942/0.7632, allocations: 323.9 kB / 0.9145 GB, free: 3.641 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (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) * 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 (83): * Single equations (assignments): 83 * 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.002616/0.7659, allocations: 2.058 MB / 0.9166 GB, free: 1.555 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001426/0.7673, allocations: 0.809 MB / 0.9173 GB, free: 0.7461 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 3.957e-06/0.7673, allocations: 0.5 kB / 0.9173 GB, free: 0.7461 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0006544/0.768, allocations: 441.6 kB / 0.9178 GB, free: 324 kB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002485/0.7705, allocations: 0.5936 MB / 0.9183 GB, free: 15.73 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01083/0.7813, allocations: 7.562 MB / 0.9257 GB, free: 7.988 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007682/0.7821, allocations: 1.12 MB / 0.9268 GB, free: 6.84 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0009388/0.7831, allocations: 255.8 kB / 0.9271 GB, free: 6.586 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005983/0.7837, allocations: 391.3 kB / 0.9274 GB, free: 6.203 MB / 0.6856 GB Notification: Performance of SimCode: time 7.41e-07/0.7837, allocations: 0 / 0.9274 GB, free: 6.203 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06188/0.8456, allocations: 28.07 MB / 0.9549 GB, free: 10.46 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.5/13.34, allocations: 23.77 kB / 0.9549 GB, free: 10.44 MB / 0.7169 GB (rm -f IBPSA_latest_IBPSA.Airflow.Multizone.Examples.OneRoom.pipe ; mkfifo IBPSA_latest_IBPSA.Airflow.Multizone.Examples.OneRoom.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Airflow.Multizone.Examples.OneRoom.pipe >> ../files/IBPSA_latest_IBPSA.Airflow.Multizone.Examples.OneRoom.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Airflow.Multizone.Examples.OneRoom_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IBPSA_latest_IBPSA_Airflow_Multizone_Examples_OneRoom.fmu > IBPSA_latest_IBPSA.Airflow.Multizone.Examples.OneRoom.pipe 2>&1)