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/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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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: 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007162/0.0007201, allocations: 91.69 kB / 15.06 MB, free: 1.098 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.0007682/0.0007682, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.205/1.205, allocations: 223.3 MB / 240 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6779/0.6779, allocations: 132.3 MB / 423.4 MB, free: 2.059 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002715/0.0002716, allocations: 8 kB / 0.5034 GB, free: 4.238 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3237/0.3239, allocations: 81.57 MB / 0.5831 GB, free: 3.977 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.Orifice): time 0.1486/0.4726, allocations: 158 MB / 0.7374 GB, free: 2.137 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002925/0.4756, allocations: 2.158 MB / 0.7395 GB, free: 15.98 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003445/0.4759, allocations: 11.94 kB / 0.7395 GB, free: 15.96 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0004846/0.4764, allocations: 154.9 kB / 0.7396 GB, free: 15.81 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001433/0.4779, allocations: 0.6881 MB / 0.7403 GB, free: 15.12 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001412/0.4793, allocations: 0.5989 MB / 0.7409 GB, free: 14.52 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001257/0.4806, allocations: 1.148 MB / 0.742 GB, free: 13.37 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004959/0.4811, allocations: 257.4 kB / 0.7423 GB, free: 13.11 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007407/0.4818, allocations: 410.4 kB / 0.7426 GB, free: 12.71 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004638/0.4823, allocations: 306.8 kB / 0.7429 GB, free: 12.41 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.915e-05/0.4824, allocations: 20 kB / 0.743 GB, free: 12.39 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001056/0.4834, allocations: 0.5339 MB / 0.7435 GB, free: 11.86 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001304/0.4836, allocations: 131.5 kB / 0.7436 GB, free: 11.73 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001072/0.4837, allocations: 113.5 kB / 0.7437 GB, free: 11.61 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0006209/0.4843, allocations: 0.5534 MB / 0.7443 GB, free: 11.05 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.638e-06/0.4843, allocations: 0 / 0.7443 GB, free: 11.05 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.393e-06/0.4843, allocations: 0 / 0.7443 GB, free: 11.05 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.359e-05/0.4843, allocations: 4 kB / 0.7443 GB, free: 11.05 MB / 0.5762 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.001105/0.4855, allocations: 0.7322 MB / 0.745 GB, free: 10.27 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 2.958e-05/0.4855, allocations: 8.031 kB / 0.745 GB, free: 10.26 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001132/0.4866, allocations: 183.2 kB / 0.7452 GB, free: 10.08 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004649/0.4871, allocations: 361.8 kB / 0.7455 GB, free: 9.691 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.165e-05/0.4871, allocations: 20.66 kB / 0.7455 GB, free: 9.672 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.659e-05/0.4872, allocations: 35.95 kB / 0.7456 GB, free: 9.637 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005645/0.4878, allocations: 369.1 kB / 0.7459 GB, free: 9.254 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.428e-05/0.4878, allocations: 4 kB / 0.7459 GB, free: 9.25 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.681e-05/0.4878, allocations: 8 kB / 0.7459 GB, free: 9.242 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.276e-05/0.4878, allocations: 15.98 kB / 0.7459 GB, free: 9.227 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004632/0.4883, allocations: 270 kB / 0.7462 GB, free: 8.961 MB / 0.5762 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.001569/0.4899, allocations: 1.687 MB / 0.7478 GB, free: 7.141 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003433/0.4902, allocations: 206.5 kB / 0.748 GB, free: 6.93 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001976/0.4904, allocations: 120.8 kB / 0.7481 GB, free: 6.809 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008423/0.4913, allocations: 0.8817 MB / 0.749 GB, free: 5.742 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.592e-05/0.4913, allocations: 42.56 kB / 0.7491 GB, free: 5.691 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=23): time 1.303e-06/0.4913, allocations: 0 / 0.7491 GB, free: 5.691 MB / 0.5762 GB Notification: Performance of matching and sorting (n=23): time 0.0007878/0.4921, allocations: 368.9 kB / 0.7494 GB, free: 5.324 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.664e-05/0.4922, allocations: 55.41 kB / 0.7495 GB, free: 5.258 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003921/0.4926, allocations: 417.9 kB / 0.7499 GB, free: 4.844 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.34e-05/0.4926, allocations: 29.7 kB / 0.7499 GB, free: 4.809 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001323/0.4927, allocations: 216.2 kB / 0.7501 GB, free: 4.59 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 5.66e-05/0.4928, allocations: 86.73 kB / 0.7502 GB, free: 4.504 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.183e-05/0.4928, allocations: 4 kB / 0.7502 GB, free: 4.5 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001103/0.4929, allocations: 354.8 kB / 0.7505 GB, free: 4.145 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000177/0.4931, allocations: 87.94 kB / 0.7506 GB, free: 4.059 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001956/0.4933, allocations: 120.1 kB / 0.7507 GB, free: 3.93 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001835/0.4935, allocations: 99.98 kB / 0.7508 GB, free: 3.832 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.568e-06/0.4935, allocations: 4 kB / 0.7508 GB, free: 3.828 MB / 0.5762 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004688/0.494, allocations: 290.6 kB / 0.7511 GB, free: 3.539 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.196e-05/0.494, allocations: 8.031 kB / 0.7511 GB, free: 3.531 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.494, allocations: 0 / 0.7511 GB, free: 3.531 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.148e-05/0.4941, allocations: 4 kB / 0.7511 GB, free: 3.527 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002152/0.4943, allocations: 51.91 kB / 0.7511 GB, free: 3.477 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.492e-06/0.4943, allocations: 7.984 kB / 0.7512 GB, free: 3.469 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002098/0.4945, allocations: 47.61 kB / 0.7512 GB, free: 3.422 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.35e-05/0.4945, allocations: 12 kB / 0.7512 GB, free: 3.41 MB / 0.5762 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.0001478/0.4947, allocations: 169.7 kB / 0.7514 GB, free: 3.234 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.204e-05/0.4948, allocations: 39.53 kB / 0.7514 GB, free: 3.195 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005292/0.4953, allocations: 300.4 kB / 0.7517 GB, free: 2.898 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.4953, allocations: 0 / 0.7517 GB, free: 2.898 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.4953, allocations: 0 / 0.7517 GB, free: 2.898 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.4953, allocations: 4 kB / 0.7517 GB, free: 2.895 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00106/0.4964, allocations: 0.8114 MB / 0.7525 GB, free: 2.008 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.017e-06/0.4964, allocations: 4 kB / 0.7525 GB, free: 2.004 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002103/0.4966, allocations: 48.2 kB / 0.7525 GB, free: 1.957 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.14e-06/0.4966, allocations: 11.94 kB / 0.7526 GB, free: 1.945 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.934e-05/0.4967, allocations: 12 kB / 0.7526 GB, free: 1.934 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.923e-06/0.4967, allocations: 4 kB / 0.7526 GB, free: 1.93 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.4967, allocations: 3.953 kB / 0.7526 GB, free: 1.926 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006913/0.4974, allocations: 0.5214 MB / 0.7531 GB, free: 1.371 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001327/0.4975, allocations: 144.6 kB / 0.7532 GB, free: 1.211 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.535e-05/0.4976, allocations: 8 kB / 0.7532 GB, free: 1.203 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002591/0.4978, allocations: 27.89 kB / 0.7533 GB, free: 1.176 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.796e-05/0.4979, allocations: 23.92 kB / 0.7533 GB, free: 1.152 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.871e-05/0.4979, allocations: 12.19 kB / 0.7533 GB, free: 1.141 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002725/0.4982, allocations: 299.1 kB / 0.7536 GB, free: 0.8516 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4982, allocations: 0 / 0.7536 GB, free: 0.8516 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003886/0.4986, allocations: 111.8 kB / 0.7537 GB, free: 0.7422 MB / 0.5762 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.0003197/0.4989, allocations: 195 kB / 0.7539 GB, free: 0.5469 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.000421/0.4994, allocations: 219.8 kB / 0.7541 GB, free: 340 kB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.4994, allocations: 0 / 0.7541 GB, free: 340 kB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002039/0.4996, allocations: 111.8 kB / 0.7542 GB, free: 228 kB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009837/0.5006, allocations: 217.2 kB / 0.7544 GB, free: 16 kB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001362/0.5019, allocations: 1.083 MB / 0.7555 GB, free: 14.9 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000318/0.5023, allocations: 0.8236 MB / 0.7563 GB, free: 14.05 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0002884/0.5026, allocations: 87.28 kB / 0.7563 GB, free: 13.96 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.919e-05/0.5027, allocations: 35.44 kB / 0.7564 GB, free: 13.92 MB / 0.5919 GB Notification: Performance of SimCode: time 1.413e-06/0.5027, allocations: 4 kB / 0.7564 GB, free: 13.92 MB / 0.5919 GB Notification: Performance of Templates: time 0.01167/0.5143, allocations: 7.401 MB / 0.7636 GB, free: 6.66 MB / 0.5919 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)