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.001274/0.001274, allocations: 101.8 kB / 16.4 MB, free: 6.461 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.001173/0.001173, allocations: 196 kB / 17.34 MB, free: 5.715 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.325/1.325, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7731/0.7731, allocations: 126.7 MB / 417.9 MB, free: 12.29 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001855/0.001855, allocations: 71.62 kB / 0.5735 GB, free: 27 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.133/0.1349, allocations: 78.86 MB / 0.6505 GB, free: 3.625 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Airflow.Multizone.Examples.Orifice): time 0.4757/0.6106, allocations: 173.8 MB / 0.8203 GB, free: 9.996 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.003531/0.6142, allocations: 2.305 MB / 0.8225 GB, free: 9.168 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003653/0.6145, allocations: 14.22 kB / 0.8226 GB, free: 9.164 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0007233/0.6153, allocations: 231 kB / 0.8228 GB, free: 8.977 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002059/0.6174, allocations: 0.924 MB / 0.8237 GB, free: 8.418 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001924/0.6193, allocations: 0.8259 MB / 0.8245 GB, free: 7.926 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001152/0.6205, allocations: 0.9539 MB / 0.8254 GB, free: 7.41 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004798/0.621, allocations: 350.9 kB / 0.8257 GB, free: 7.191 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001009/0.622, allocations: 0.582 MB / 0.8263 GB, free: 6.887 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003685/0.6224, allocations: 310.1 kB / 0.8266 GB, free: 6.727 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 5.445e-05/0.6224, allocations: 30.47 kB / 0.8266 GB, free: 6.727 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001591/0.624, allocations: 0.987 MB / 0.8276 GB, free: 6.305 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001718/0.6242, allocations: 144.6 kB / 0.8277 GB, free: 6.207 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0002278/0.6245, allocations: 236.5 kB / 0.828 GB, free: 6.066 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001311/0.6258, allocations: 0.9095 MB / 0.8289 GB, free: 5.574 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.317e-06/0.6258, allocations: 0 / 0.8289 GB, free: 5.574 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.703e-06/0.6258, allocations: 0 / 0.8289 GB, free: 5.574 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 7.444e-06/0.6258, allocations: 2.75 kB / 0.8289 GB, free: 5.574 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.001225/0.627, allocations: 0.8193 MB / 0.8297 GB, free: 4.879 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.23e-05/0.6271, allocations: 9.531 kB / 0.8297 GB, free: 4.879 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.371e-05/0.6272, allocations: 71.03 kB / 0.8297 GB, free: 4.812 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001168/0.6284, allocations: 183 kB / 0.8299 GB, free: 4.727 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006236/0.629, allocations: 394.9 kB / 0.8303 GB, free: 4.379 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.523e-05/0.629, allocations: 25.69 kB / 0.8303 GB, free: 4.367 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.468e-05/0.6291, allocations: 28.12 kB / 0.8303 GB, free: 4.359 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006082/0.6297, allocations: 368.3 kB / 0.8307 GB, free: 4.113 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.629e-05/0.6297, allocations: 0 / 0.8307 GB, free: 4.113 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.802e-05/0.6298, allocations: 20.81 kB / 0.8307 GB, free: 4.098 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.242e-05/0.6298, allocations: 11.67 kB / 0.8307 GB, free: 4.094 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004821/0.6303, allocations: 260.4 kB / 0.831 GB, free: 3.977 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001831/0.6321, allocations: 1.673 MB / 0.8326 GB, free: 2.445 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003741/0.6325, allocations: 208 kB / 0.8328 GB, free: 2.336 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002259/0.6328, allocations: 113.8 kB / 0.8329 GB, free: 2.281 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001079/0.6338, allocations: 0.8717 MB / 0.8338 GB, free: 1.301 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.543e-05/0.6339, allocations: 37.45 kB / 0.8338 GB, free: 1.258 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=23): time 1.613e-06/0.6339, allocations: 0 / 0.8338 GB, free: 1.258 MB / 0.5919 GB Notification: Performance of matching and sorting (n=23): time 0.0008627/0.6348, allocations: 363.3 kB / 0.8341 GB, free: 1.078 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.277e-05/0.6348, allocations: 58.33 kB / 0.8342 GB, free: 1.012 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000436/0.6353, allocations: 418.9 kB / 0.8346 GB, free: 0.7617 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.627e-05/0.6353, allocations: 28.14 kB / 0.8346 GB, free: 0.7305 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001794/0.6355, allocations: 216.7 kB / 0.8348 GB, free: 0.5352 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 7.052e-05/0.6356, allocations: 88.83 kB / 0.8349 GB, free: 468 kB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.506e-05/0.6357, allocations: 56.61 kB / 0.835 GB, free: 428 kB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001771/0.6358, allocations: 354.5 kB / 0.8353 GB, free: 72 kB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001807/0.636, allocations: 74.42 kB / 0.8354 GB, free: 40 kB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00023/0.6363, allocations: 123.5 kB / 0.8355 GB, free: 15.96 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004043/0.6367, allocations: 213.4 kB / 0.8357 GB, free: 15.84 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.6367, allocations: 0 / 0.8357 GB, free: 15.84 MB / 0.6075 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005143/0.6372, allocations: 281.2 kB / 0.836 GB, free: 15.69 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.389e-05/0.6372, allocations: 10.72 kB / 0.836 GB, free: 15.69 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.229e-06/0.6372, allocations: 2.625 kB / 0.836 GB, free: 15.69 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.431e-05/0.6373, allocations: 1.781 kB / 0.836 GB, free: 15.69 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002267/0.6375, allocations: 60.91 kB / 0.836 GB, free: 15.67 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.876e-06/0.6375, allocations: 3.938 kB / 0.836 GB, free: 15.66 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002096/0.6377, allocations: 33.83 kB / 0.8361 GB, free: 15.64 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.327e-05/0.6378, allocations: 9.625 kB / 0.8361 GB, free: 15.64 MB / 0.6075 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.0001648/0.6379, allocations: 161 kB / 0.8362 GB, free: 15.5 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.558e-05/0.638, allocations: 43.5 kB / 0.8363 GB, free: 15.47 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005583/0.6386, allocations: 292 kB / 0.8366 GB, free: 15.3 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.077e-06/0.6386, allocations: 5.219 kB / 0.8366 GB, free: 15.3 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.6386, allocations: 3.938 kB / 0.8366 GB, free: 15.29 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.915e-06/0.6386, allocations: 3.984 kB / 0.8366 GB, free: 15.29 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001223/0.6398, allocations: 0.8111 MB / 0.8374 GB, free: 14.64 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.554e-06/0.6399, allocations: 2.219 kB / 0.8374 GB, free: 14.64 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002102/0.6401, allocations: 43.27 kB / 0.8374 GB, free: 14.63 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.998e-06/0.6401, allocations: 2.875 kB / 0.8374 GB, free: 14.63 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.103e-05/0.6401, allocations: 8.859 kB / 0.8374 GB, free: 14.63 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.374e-06/0.6401, allocations: 6.031 kB / 0.8374 GB, free: 14.62 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.6401, allocations: 3.188 kB / 0.8374 GB, free: 14.62 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00078/0.6409, allocations: 0.5117 MB / 0.8379 GB, free: 14.26 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001559/0.6411, allocations: 148.8 kB / 0.8381 GB, free: 14.12 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.519e-05/0.6411, allocations: 6.781 kB / 0.8381 GB, free: 14.11 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002555/0.6414, allocations: 15.58 kB / 0.8381 GB, free: 14.11 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.582e-05/0.6415, allocations: 22.03 kB / 0.8381 GB, free: 14.09 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.193e-05/0.6415, allocations: 14.89 kB / 0.8381 GB, free: 14.09 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0003072/0.6418, allocations: 298.5 kB / 0.8384 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of sort global known variables: time 4.178e-06/0.6418, allocations: 4 kB / 0.8384 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0004239/0.6423, allocations: 118.6 kB / 0.8385 GB, free: 13.88 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.001413/0.6437, allocations: 1.135 MB / 0.8396 GB, free: 12.95 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000464/0.6442, allocations: 205.6 kB / 0.8398 GB, free: 12.87 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.6442, allocations: 0 / 0.8398 GB, free: 12.87 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002176/0.6444, allocations: 121.1 kB / 0.8399 GB, free: 12.82 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001081/0.6455, allocations: 227.2 kB / 0.8402 GB, free: 12.7 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00475/0.6502, allocations: 3.69 MB / 0.8438 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004559/0.6507, allocations: 0.8244 MB / 0.8446 GB, free: 9.359 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0002743/0.651, allocations: 83.7 kB / 0.8447 GB, free: 9.32 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001973/0.6512, allocations: 141 kB / 0.8448 GB, free: 9.207 MB / 0.6075 GB Notification: Performance of SimCode: time 3.61e-07/0.6512, allocations: 0 / 0.8448 GB, free: 9.207 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0373/0.6885, allocations: 12.11 MB / 0.8566 GB, free: 15.29 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.199/8.887, allocations: 11.42 kB / 0.8566 GB, free: 15.28 MB / 0.6231 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)