Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Airflow.Multizone.Examples.Orifice.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.Orifice,fileNamePrefix="IBPSA_latest_IBPSA_Airflow_Multizone_Examples_Orifice",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Airflow.Multizone.Examples.Orifice,fileNamePrefix="IBPSA_latest_IBPSA_Airflow_Multizone_Examples_Orifice",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.001315/0.001315, allocations: 108.6 kB / 16.41 MB, free: 6.445 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.001155/0.001155, allocations: 189.2 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.28/1.28, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7229/0.7229, allocations: 122.9 MB / 414.1 MB, free: 15.8 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001134/0.001134, allocations: 69.06 kB / 0.5679 GB, free: 28.98 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.123/0.1241, allocations: 77.94 MB / 0.644 GB, free: 9.535 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Airflow.Multizone.Examples.Orifice): time 0.4655/0.5896, allocations: 173.8 MB / 0.8138 GB, free: 11.04 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.003193/0.5928, allocations: 2.294 MB / 0.816 GB, free: 10.66 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003549/0.5932, allocations: 14.34 kB / 0.816 GB, free: 10.66 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0006599/0.5939, allocations: 241.8 kB / 0.8163 GB, free: 10.51 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001928/0.5959, allocations: 0.9778 MB / 0.8172 GB, free: 10.06 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001763/0.5976, allocations: 0.832 MB / 0.818 GB, free: 9.758 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.000954/0.5986, allocations: 0.9687 MB / 0.819 GB, free: 9.438 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004603/0.5991, allocations: 337.4 kB / 0.8193 GB, free: 9.234 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007167/0.5998, allocations: 458.6 kB / 0.8197 GB, free: 9.004 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003404/0.6001, allocations: 322.2 kB / 0.82 GB, free: 8.836 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 4.868e-05/0.6002, allocations: 33.03 kB / 0.8201 GB, free: 8.836 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001678/0.6019, allocations: 0.9905 MB / 0.821 GB, free: 8.41 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001447/0.602, allocations: 150.2 kB / 0.8212 GB, free: 8.312 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0002072/0.6023, allocations: 237.7 kB / 0.8214 GB, free: 8.168 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001125/0.6034, allocations: 0.9071 MB / 0.8223 GB, free: 7.676 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.6034, allocations: 0 / 0.8223 GB, free: 7.676 MB / 0.5919 GB Notification: Performance of FrontEnd: time 3.867e-06/0.6034, allocations: 0 / 0.8223 GB, free: 7.676 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.142e-05/0.6034, allocations: 6.188 kB / 0.8223 GB, free: 7.672 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 74 * Number of variables: 74 Notification: Performance of Generate backend data structure: time 0.001177/0.6046, allocations: 0.8156 MB / 0.8231 GB, free: 6.98 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.018e-05/0.6047, allocations: 10.91 kB / 0.8231 GB, free: 6.98 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.524e-05/0.6048, allocations: 68.53 kB / 0.8232 GB, free: 6.914 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001202/0.606, allocations: 187.3 kB / 0.8234 GB, free: 6.824 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000569/0.6065, allocations: 387.4 kB / 0.8237 GB, free: 6.488 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.346e-05/0.6066, allocations: 37.09 kB / 0.8238 GB, free: 6.465 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.598e-05/0.6066, allocations: 28.44 kB / 0.8238 GB, free: 6.457 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00058/0.6072, allocations: 364.9 kB / 0.8241 GB, free: 6.215 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.628e-05/0.6072, allocations: 3.938 kB / 0.8241 GB, free: 6.211 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.163e-05/0.6073, allocations: 16.5 kB / 0.8242 GB, free: 6.199 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.108e-05/0.6073, allocations: 15.69 kB / 0.8242 GB, free: 6.191 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004719/0.6078, allocations: 252.1 kB / 0.8244 GB, free: 6.082 MB / 0.5919 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.001679/0.6095, allocations: 1.683 MB / 0.826 GB, free: 4.543 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003476/0.6098, allocations: 205 kB / 0.8262 GB, free: 4.438 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001933/0.61, allocations: 110.3 kB / 0.8264 GB, free: 4.383 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009281/0.611, allocations: 0.8759 MB / 0.8272 GB, free: 3.398 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.722e-05/0.611, allocations: 37.19 kB / 0.8272 GB, free: 3.355 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=23): time 1.483e-06/0.611, allocations: 0 / 0.8272 GB, free: 3.355 MB / 0.5919 GB Notification: Performance of matching and sorting (n=23): time 0.0008165/0.6118, allocations: 361.8 kB / 0.8276 GB, free: 3.176 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.973e-05/0.6119, allocations: 54.31 kB / 0.8276 GB, free: 3.113 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003812/0.6123, allocations: 420.8 kB / 0.828 GB, free: 2.859 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.37e-05/0.6123, allocations: 25.7 kB / 0.8281 GB, free: 2.828 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001414/0.6125, allocations: 219 kB / 0.8283 GB, free: 2.629 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 5.916e-05/0.6125, allocations: 91.28 kB / 0.8284 GB, free: 2.551 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.449e-05/0.6126, allocations: 53.89 kB / 0.8284 GB, free: 2.512 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001292/0.6127, allocations: 352.5 kB / 0.8287 GB, free: 2.168 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001709/0.6129, allocations: 76.28 kB / 0.8288 GB, free: 2.133 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001962/0.6131, allocations: 124.3 kB / 0.8289 GB, free: 2.055 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003658/0.6135, allocations: 206.5 kB / 0.8291 GB, free: 1.938 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.43e-06/0.6135, allocations: 3 kB / 0.8291 GB, free: 1.938 MB / 0.5919 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004683/0.614, allocations: 293 kB / 0.8294 GB, free: 1.781 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.329e-05/0.614, allocations: 8.969 kB / 0.8294 GB, free: 1.777 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.373e-06/0.614, allocations: 112 / 0.8294 GB, free: 1.777 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.328e-05/0.614, allocations: 10.72 kB / 0.8294 GB, free: 1.77 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002143/0.6142, allocations: 47.92 kB / 0.8295 GB, free: 1.762 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.216e-06/0.6143, allocations: 5.922 kB / 0.8295 GB, free: 1.758 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002134/0.6145, allocations: 33.91 kB / 0.8295 GB, free: 1.734 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.33e-05/0.6145, allocations: 11.81 kB / 0.8295 GB, free: 1.73 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (28): * Single equations (assignments): 28 * 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.0001449/0.6147, allocations: 164.7 kB / 0.8297 GB, free: 1.582 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.784e-05/0.6147, allocations: 43.28 kB / 0.8297 GB, free: 1.559 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005235/0.6153, allocations: 284.9 kB / 0.83 GB, free: 1.391 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.6153, allocations: 1.781 kB / 0.83 GB, free: 1.391 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.6153, allocations: 0 / 0.83 GB, free: 1.391 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.98e-06/0.6153, allocations: 3.938 kB / 0.83 GB, free: 1.387 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001114/0.6164, allocations: 0.8136 MB / 0.8308 GB, free: 0.7383 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/0.6164, allocations: 2.812 kB / 0.8308 GB, free: 0.7383 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002112/0.6166, allocations: 48.22 kB / 0.8309 GB, free: 0.7266 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.597e-06/0.6167, allocations: 2.531 kB / 0.8309 GB, free: 0.7266 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.81e-05/0.6167, allocations: 6.5 kB / 0.8309 GB, free: 0.7227 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.6167, allocations: 5.062 kB / 0.8309 GB, free: 0.7227 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.6167, allocations: 4.188 kB / 0.8309 GB, free: 0.7188 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007161/0.6174, allocations: 0.5089 MB / 0.8314 GB, free: 368 kB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001487/0.6176, allocations: 149.2 kB / 0.8315 GB, free: 220 kB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.698e-05/0.6176, allocations: 8.844 kB / 0.8315 GB, free: 216 kB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002587/0.6179, allocations: 16.02 kB / 0.8315 GB, free: 208 kB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.512e-05/0.618, allocations: 15.88 kB / 0.8315 GB, free: 200 kB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.91e-05/0.618, allocations: 11.44 kB / 0.8316 GB, free: 196 kB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002768/0.6183, allocations: 312.1 kB / 0.8319 GB, free: 0 / 0.5919 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6183, allocations: 0 / 0.8319 GB, free: 0 / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004106/0.6187, allocations: 119.8 kB / 0.832 GB, free: 15.97 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (ori.mExc,den1.d,den2.d) * 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 (23): * Single equations (assignments): 23 * 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.001212/0.6199, allocations: 1.139 MB / 0.8331 GB, free: 15.04 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004297/0.6203, allocations: 207.5 kB / 0.8333 GB, free: 14.96 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.6204, allocations: 0 / 0.8333 GB, free: 14.96 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002121/0.6206, allocations: 119.5 kB / 0.8334 GB, free: 14.91 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001033/0.6216, allocations: 225.2 kB / 0.8336 GB, free: 14.79 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004147/0.6258, allocations: 3.696 MB / 0.8372 GB, free: 12.22 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003413/0.6261, allocations: 0.8218 MB / 0.838 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0002381/0.6264, allocations: 83.09 kB / 0.8381 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001692/0.6265, allocations: 136.8 kB / 0.8382 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of SimCode: time 2.71e-07/0.6266, allocations: 0 / 0.8382 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0278/0.6544, allocations: 12.1 MB / 0.85 GB, free: 2.559 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.85/8.504, allocations: 2.031 kB / 0.85 GB, free: 2.559 MB / 0.6075 GB (rm -f IBPSA_latest_IBPSA.Airflow.Multizone.Examples.Orifice.pipe ; mkfifo IBPSA_latest_IBPSA.Airflow.Multizone.Examples.Orifice.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Airflow.Multizone.Examples.Orifice.pipe >> ../files/IBPSA_latest_IBPSA.Airflow.Multizone.Examples.Orifice.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Airflow.Multizone.Examples.Orifice_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_Orifice.fmu > IBPSA_latest_IBPSA.Airflow.Multizone.Examples.Orifice.pipe 2>&1)