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.0007488/0.0007488, allocations: 88.17 kB / 15.7 MB, free: 460 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000787/0.0007871, allocations: 173.1 kB / 16.58 MB, free: 6.852 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.291/1.291, allocations: 223.3 MB / 240.6 MB, free: 5.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6656/0.6656, allocations: 113.7 MB / 405.4 MB, free: 4.594 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003617/0.0003619, allocations: 8.594 kB / 493.1 MB, free: 8.598 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1571/0.1574, allocations: 77.12 MB / 0.5569 GB, free: 11.68 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Airflow.Multizone.Examples.Orifice): time 0.5067/0.6642, allocations: 158 MB / 0.7112 GB, free: 12.89 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.003574/0.6678, allocations: 2.177 MB / 0.7133 GB, free: 10.71 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002634/0.6681, allocations: 11.94 kB / 0.7133 GB, free: 10.7 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0005763/0.6687, allocations: 154.9 kB / 0.7134 GB, free: 10.55 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.001587/0.6703, allocations: 0.6803 MB / 0.7141 GB, free: 9.867 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.001595/0.6719, allocations: 0.6048 MB / 0.7147 GB, free: 9.27 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.001159/0.6731, allocations: 1.138 MB / 0.7158 GB, free: 8.129 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003689/0.6735, allocations: 261.5 kB / 0.7161 GB, free: 7.871 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005785/0.674, allocations: 410.3 kB / 0.7164 GB, free: 7.469 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003461/0.6744, allocations: 302.8 kB / 0.7167 GB, free: 7.172 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 4.448e-05/0.6745, allocations: 20 kB / 0.7168 GB, free: 7.152 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001108/0.6756, allocations: 0.5339 MB / 0.7173 GB, free: 6.617 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001416/0.6757, allocations: 131.6 kB / 0.7174 GB, free: 6.488 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 9.394e-05/0.6758, allocations: 113.5 kB / 0.7175 GB, free: 6.371 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.000606/0.6764, allocations: 0.5495 MB / 0.718 GB, free: 5.82 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.6764, allocations: 0 / 0.718 GB, free: 5.82 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.613e-06/0.6765, allocations: 4 kB / 0.718 GB, free: 5.816 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.612e-06/0.6765, allocations: 0 / 0.718 GB, free: 5.816 MB / 0.5294 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.001024/0.6775, allocations: 0.733 MB / 0.7188 GB, free: 5.035 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.157e-05/0.6775, allocations: 8.031 kB / 0.7188 GB, free: 5.027 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.25e-05/0.6776, allocations: 74.47 kB / 0.7188 GB, free: 4.945 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001048/0.6787, allocations: 175.2 kB / 0.719 GB, free: 4.773 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000479/0.6792, allocations: 369.7 kB / 0.7194 GB, free: 4.371 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.328e-05/0.6792, allocations: 24.66 kB / 0.7194 GB, free: 4.348 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.475e-05/0.6793, allocations: 28 kB / 0.7194 GB, free: 4.32 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005726/0.6798, allocations: 373.1 kB / 0.7198 GB, free: 3.93 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.533e-05/0.6799, allocations: 3.938 kB / 0.7198 GB, free: 3.926 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.987e-05/0.6799, allocations: 16 kB / 0.7198 GB, free: 3.91 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.397e-05/0.6799, allocations: 15.98 kB / 0.7198 GB, free: 3.895 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004687/0.6804, allocations: 266 kB / 0.7201 GB, free: 3.633 MB / 0.5294 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.00169/0.6821, allocations: 1.671 MB / 0.7217 GB, free: 1.824 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003551/0.6825, allocations: 204.2 kB / 0.7219 GB, free: 1.617 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001972/0.6827, allocations: 120.8 kB / 0.722 GB, free: 1.496 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009556/0.6836, allocations: 0.8895 MB / 0.7229 GB, free: 428 kB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.045e-05/0.6837, allocations: 38.52 kB / 0.7229 GB, free: 380 kB / 0.5294 GB Notification: Performance of pre-optimization done (n=23): time 2.986e-06/0.6837, allocations: 112 / 0.7229 GB, free: 380 kB / 0.5294 GB Notification: Performance of matching and sorting (n=23): time 0.0008193/0.6845, allocations: 383.5 kB / 0.7233 GB, free: 15.99 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.333e-05/0.6846, allocations: 59.41 kB / 0.7233 GB, free: 15.92 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004234/0.685, allocations: 421.9 kB / 0.7237 GB, free: 15.5 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.349e-05/0.685, allocations: 25.7 kB / 0.7238 GB, free: 15.47 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001483/0.6852, allocations: 208.3 kB / 0.724 GB, free: 15.27 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.881e-05/0.6852, allocations: 86.75 kB / 0.724 GB, free: 15.18 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.109e-05/0.6853, allocations: 4 kB / 0.724 GB, free: 15.18 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001366/0.6854, allocations: 350.8 kB / 0.7244 GB, free: 14.82 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001738/0.6856, allocations: 83.94 kB / 0.7245 GB, free: 14.74 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002026/0.6858, allocations: 128.7 kB / 0.7246 GB, free: 14.61 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001879/0.686, allocations: 106.7 kB / 0.7247 GB, free: 14.5 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.686, allocations: 0 / 0.7247 GB, free: 14.5 MB / 0.545 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004631/0.6865, allocations: 285 kB / 0.7249 GB, free: 14.22 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.883e-05/0.6865, allocations: 11.95 kB / 0.725 GB, free: 14.21 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.65e-06/0.6865, allocations: 0 / 0.725 GB, free: 14.21 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.448e-05/0.6865, allocations: 8.031 kB / 0.725 GB, free: 14.2 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002205/0.6867, allocations: 59.28 kB / 0.725 GB, free: 14.14 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.417e-06/0.6868, allocations: 4 kB / 0.725 GB, free: 14.14 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002022/0.687, allocations: 39.67 kB / 0.7251 GB, free: 14.1 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.526e-05/0.687, allocations: 8 kB / 0.7251 GB, free: 14.09 MB / 0.545 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001543/0.6872, allocations: 169.8 kB / 0.7252 GB, free: 13.92 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.171e-05/0.6872, allocations: 43.44 kB / 0.7253 GB, free: 13.88 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005356/0.6878, allocations: 297.1 kB / 0.7256 GB, free: 13.57 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.548e-06/0.6878, allocations: 8 kB / 0.7256 GB, free: 13.57 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.6878, allocations: 0 / 0.7256 GB, free: 13.57 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.077e-06/0.6878, allocations: 0 / 0.7256 GB, free: 13.57 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001169/0.689, allocations: 0.8191 MB / 0.7264 GB, free: 12.67 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.007e-06/0.689, allocations: 4 kB / 0.7264 GB, free: 12.67 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000202/0.6892, allocations: 47.97 kB / 0.7264 GB, free: 12.62 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.009e-06/0.6892, allocations: 4 kB / 0.7264 GB, free: 12.62 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.775e-05/0.6892, allocations: 8.188 kB / 0.7264 GB, free: 12.61 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.17e-06/0.6893, allocations: 3.938 kB / 0.7264 GB, free: 12.61 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.614e-06/0.6893, allocations: 4 kB / 0.7264 GB, free: 12.6 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007242/0.69, allocations: 0.5204 MB / 0.7269 GB, free: 12.05 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001545/0.6902, allocations: 148.6 kB / 0.7271 GB, free: 11.89 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.143e-05/0.6902, allocations: 11.94 kB / 0.7271 GB, free: 11.88 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002478/0.6905, allocations: 27.92 kB / 0.7271 GB, free: 11.85 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.396e-05/0.6905, allocations: 15.97 kB / 0.7271 GB, free: 11.83 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.795e-05/0.6906, allocations: 12 kB / 0.7272 GB, free: 11.82 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0002988/0.6909, allocations: 299.1 kB / 0.7274 GB, free: 11.53 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6909, allocations: 4 kB / 0.7274 GB, free: 11.52 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0004198/0.6913, allocations: 115.8 kB / 0.7276 GB, free: 11.41 MB / 0.545 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 (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.001305/0.6926, allocations: 1.15 MB / 0.7287 GB, free: 10.23 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004505/0.6931, allocations: 215.8 kB / 0.7289 GB, free: 10.02 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.6931, allocations: 0 / 0.7289 GB, free: 10.02 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002059/0.6933, allocations: 120.2 kB / 0.729 GB, free: 9.906 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001004/0.6943, allocations: 215.7 kB / 0.7292 GB, free: 9.703 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003562/0.6979, allocations: 2.539 MB / 0.7317 GB, free: 7.094 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003884/0.6983, allocations: 0.8275 MB / 0.7325 GB, free: 6.242 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0002868/0.6986, allocations: 83.34 kB / 0.7326 GB, free: 6.156 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001881/0.6988, allocations: 135.4 kB / 0.7327 GB, free: 6.023 MB / 0.545 GB Notification: Performance of SimCode: time 4.91e-07/0.6988, allocations: 11.88 kB / 0.7327 GB, free: 6.012 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05771/0.7565, allocations: 11.41 MB / 0.7438 GB, free: 10.87 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002003/0.7567, allocations: 213.8 kB / 0.744 GB, free: 10.63 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.008/2.765, allocations: 4 kB / 0.7441 GB, free: 10.62 MB / 0.5606 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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Airflow_Multizone_Examples_Orifice_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Airflow_Multizone_Examples_Orifice.fmu > IBPSA_latest_IBPSA.Airflow.Multizone.Examples.Orifice.pipe 2>&1) Environment - environmentSimulation: