Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Airflow.Multizone.Examples.Orifice.conf.json 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/IDEAS 3.0.0/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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) Running command: translateModel(IDEAS.Airflow.Multizone.Examples.Orifice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Airflow.Multizone.Examples.Orifice") translateModel(IDEAS.Airflow.Multizone.Examples.Orifice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Airflow.Multizone.Examples.Orifice") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001169/0.001169, allocations: 182.2 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7165/0.7165, allocations: 132.2 MB / 148.9 MB, free: 12.16 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.366/1.366, allocations: 222.9 MB / 403.4 MB, free: 7.078 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009368/0.0009369, allocations: 115.5 kB / 484.4 MB, free: 8.699 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009775/0.0009776, allocations: 55.92 kB / 0.5618 GB, free: 71.04 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1245/0.1255, allocations: 80.2 MB / 0.6402 GB, free: 6.773 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.Orifice): time 0.4516/0.5771, allocations: 171.6 MB / 0.8077 GB, free: 7.574 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.003494/0.5807, allocations: 2.315 MB / 0.81 GB, free: 5.254 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003949/0.5811, allocations: 11.94 kB / 0.81 GB, free: 5.242 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 0.0007511/0.5819, allocations: 194.8 kB / 0.8102 GB, free: 5.051 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 0.001922/0.5838, allocations: 0.8714 MB / 0.811 GB, free: 4.176 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.001734/0.5856, allocations: 0.7495 MB / 0.8118 GB, free: 3.43 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 0.001274/0.5869, allocations: 1.352 MB / 0.8131 GB, free: 2.074 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003739/0.5873, allocations: 286.3 kB / 0.8133 GB, free: 1.789 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005879/0.5878, allocations: 422.3 kB / 0.8137 GB, free: 1.375 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003417/0.5882, allocations: 322.6 kB / 0.8141 GB, free: 1.059 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 4.71e-05/0.5883, allocations: 27.94 kB / 0.8141 GB, free: 1.031 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001732/0.59, allocations: 1.165 MB / 0.8152 GB, free: 15.86 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0001417/0.5902, allocations: 147.5 kB / 0.8154 GB, free: 15.72 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0001985/0.5904, allocations: 222.8 kB / 0.8156 GB, free: 15.5 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.001146/0.5915, allocations: 0.9504 MB / 0.8165 GB, free: 14.55 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.5915, allocations: 4 kB / 0.8165 GB, free: 14.54 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.856e-06/0.5915, allocations: 0 / 0.8165 GB, free: 14.54 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 6.502e-06/0.5916, allocations: 3.938 kB / 0.8165 GB, free: 14.54 MB / 0.5573 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.00113/0.5927, allocations: 0.8021 MB / 0.8173 GB, free: 13.69 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.087e-05/0.5927, allocations: 12.03 kB / 0.8173 GB, free: 13.68 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001111/0.5939, allocations: 187.2 kB / 0.8175 GB, free: 13.49 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004842/0.5944, allocations: 369.4 kB / 0.8178 GB, free: 13.09 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.174e-05/0.5944, allocations: 24.66 kB / 0.8179 GB, free: 13.07 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.239e-05/0.5944, allocations: 28 kB / 0.8179 GB, free: 13.04 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005446/0.595, allocations: 373.1 kB / 0.8182 GB, free: 12.65 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.428e-05/0.595, allocations: 0 / 0.8182 GB, free: 12.65 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.053e-05/0.5951, allocations: 12 kB / 0.8183 GB, free: 12.64 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.409e-05/0.5951, allocations: 19.92 kB / 0.8183 GB, free: 12.62 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004695/0.5956, allocations: 258 kB / 0.8185 GB, free: 12.37 MB / 0.5573 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.00174/0.5973, allocations: 1.675 MB / 0.8202 GB, free: 10.55 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003735/0.5977, allocations: 207 kB / 0.8204 GB, free: 10.34 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000204/0.5979, allocations: 116.8 kB / 0.8205 GB, free: 10.23 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009512/0.5989, allocations: 0.8699 MB / 0.8213 GB, free: 9.172 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.515e-05/0.5989, allocations: 32.56 kB / 0.8213 GB, free: 9.133 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=23): time 1.693e-06/0.5989, allocations: 0 / 0.8213 GB, free: 9.133 MB / 0.5573 GB Notification: Performance of matching and sorting (n=23): time 0.0008413/0.5998, allocations: 362.3 kB / 0.8217 GB, free: 8.773 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.168e-05/0.5998, allocations: 51.41 kB / 0.8217 GB, free: 8.711 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004086/0.6002, allocations: 425.9 kB / 0.8221 GB, free: 8.285 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 2.394e-05/0.6003, allocations: 29.7 kB / 0.8222 GB, free: 8.25 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001301/0.6004, allocations: 212.2 kB / 0.8224 GB, free: 8.039 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 5.87e-05/0.6005, allocations: 86.94 kB / 0.8225 GB, free: 7.953 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.033e-05/0.6005, allocations: 57.55 kB / 0.8225 GB, free: 7.891 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001207/0.6007, allocations: 354.7 kB / 0.8229 GB, free: 7.535 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000177/0.6009, allocations: 79.94 kB / 0.8229 GB, free: 7.457 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002096/0.6011, allocations: 123.4 kB / 0.823 GB, free: 7.324 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003742/0.6015, allocations: 214.1 kB / 0.8232 GB, free: 7.105 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.6015, allocations: 0 / 0.8232 GB, free: 7.105 MB / 0.5573 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005161/0.602, allocations: 281 kB / 0.8235 GB, free: 6.824 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.597e-05/0.602, allocations: 4 kB / 0.8235 GB, free: 6.82 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.602, allocations: 0 / 0.8235 GB, free: 6.82 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.35e-05/0.602, allocations: 8.031 kB / 0.8235 GB, free: 6.812 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002256/0.6023, allocations: 55.91 kB / 0.8236 GB, free: 6.758 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.6023, allocations: 0 / 0.8236 GB, free: 6.758 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000232/0.6025, allocations: 43.61 kB / 0.8236 GB, free: 6.715 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.576e-05/0.6026, allocations: 11.94 kB / 0.8236 GB, free: 6.703 MB / 0.5573 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.0001478/0.6027, allocations: 171.1 kB / 0.8238 GB, free: 6.527 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.66e-05/0.6028, allocations: 43.44 kB / 0.8238 GB, free: 6.484 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005333/0.6033, allocations: 287.8 kB / 0.8241 GB, free: 6.203 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.529e-06/0.6033, allocations: 4 kB / 0.8241 GB, free: 6.199 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.6034, allocations: 0 / 0.8241 GB, free: 6.199 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.05e-06/0.6034, allocations: 3.938 kB / 0.8241 GB, free: 6.195 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00112/0.6045, allocations: 0.8085 MB / 0.8249 GB, free: 5.312 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/0.6045, allocations: 0 / 0.8249 GB, free: 5.312 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002162/0.6047, allocations: 48.16 kB / 0.825 GB, free: 5.266 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.618e-06/0.6047, allocations: 8 kB / 0.825 GB, free: 5.258 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.999e-05/0.6048, allocations: 8 kB / 0.825 GB, free: 5.25 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.958e-06/0.6048, allocations: 3.938 kB / 0.825 GB, free: 5.246 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.786e-06/0.6048, allocations: 4 kB / 0.825 GB, free: 5.242 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009412/0.6142, allocations: 3.567 MB / 0.8285 GB, free: 1.457 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001686/0.6144, allocations: 148.8 kB / 0.8286 GB, free: 1.293 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.878e-05/0.6145, allocations: 7.984 kB / 0.8286 GB, free: 1.285 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002804/0.6148, allocations: 31.91 kB / 0.8286 GB, free: 1.254 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.219e-05/0.6148, allocations: 19.98 kB / 0.8287 GB, free: 1.234 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.94e-05/0.6148, allocations: 15.92 kB / 0.8287 GB, free: 1.219 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0002915/0.6151, allocations: 295.1 kB / 0.829 GB, free: 0.9336 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.01e-07/0.6152, allocations: 0 / 0.829 GB, free: 0.9336 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0006332/0.6158, allocations: 175.8 kB / 0.8291 GB, free: 0.7617 MB / 0.5573 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.0003724/0.6162, allocations: 180 kB / 0.8293 GB, free: 0.5898 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0004539/0.6166, allocations: 207.7 kB / 0.8295 GB, free: 396 kB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.6167, allocations: 0 / 0.8295 GB, free: 396 kB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0002087/0.6169, allocations: 119.9 kB / 0.8296 GB, free: 276 kB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001126/0.618, allocations: 221.8 kB / 0.8298 GB, free: 56 kB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001617/0.6196, allocations: 1.221 MB / 0.831 GB, free: 14.78 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003189/0.62, allocations: 0.8275 MB / 0.8318 GB, free: 13.93 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0003457/0.6203, allocations: 95.34 kB / 0.8319 GB, free: 13.83 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001131/0.6204, allocations: 35.44 kB / 0.8319 GB, free: 13.8 MB / 0.573 GB Notification: Performance of SimCode: time 3.7e-07/0.6204, allocations: 0 / 0.8319 GB, free: 13.8 MB / 0.573 GB Notification: Performance of Templates: time 0.01374/0.6342, allocations: 8.956 MB / 0.8407 GB, free: 4.957 MB / 0.573 GB make -j1 -f IDEAS_IDEAS.Airflow.Multizone.Examples.Orifice.makefile (rm -f IDEAS_IDEAS.Airflow.Multizone.Examples.Orifice.pipe ; mkfifo IDEAS_IDEAS.Airflow.Multizone.Examples.Orifice.pipe ; head -c 1048576 < IDEAS_IDEAS.Airflow.Multizone.Examples.Orifice.pipe >> ../files/IDEAS_IDEAS.Airflow.Multizone.Examples.Orifice.sim & ./IDEAS_IDEAS.Airflow.Multizone.Examples.Orifice -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Airflow.Multizone.Examples.Orifice.pipe 2>&1)