Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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: translateModel(IDEAS.Airflow.Multizone.Examples.Orifice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Airflow.Multizone.Examples.Orifice") translateModel(IDEAS.Airflow.Multizone.Examples.Orifice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001594/0.001594, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001648/0.001648, allocations: 190 kB / 16.25 MB, free: 6.633 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.396/1.396, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9402/0.9402, allocations: 135.6 MB / 425.6 MB, free: 11.8 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001854/0.001854, allocations: 69.11 kB / 0.5054 GB, free: 5.195 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1616/0.1634, allocations: 81.03 MB / 0.5845 GB, free: 4.305 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.Orifice): time 0.4174/0.5809, allocations: 171.5 MB / 0.752 GB, free: 15.8 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.004028/0.5849, allocations: 2.295 MB / 0.7542 GB, free: 13.94 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002996/0.5853, allocations: 11.75 kB / 0.7542 GB, free: 13.93 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0006658/0.5859, allocations: 196.8 kB / 0.7544 GB, free: 13.77 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001978/0.588, allocations: 0.886 MB / 0.7553 GB, free: 13.11 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001831/0.5898, allocations: 0.7561 MB / 0.756 GB, free: 12.58 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001059/0.5909, allocations: 0.9724 MB / 0.7569 GB, free: 11.89 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000449/0.5913, allocations: 315 kB / 0.7573 GB, free: 11.58 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006504/0.592, allocations: 458.2 kB / 0.7577 GB, free: 11.13 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003831/0.5924, allocations: 334.7 kB / 0.758 GB, free: 10.8 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 6.402e-05/0.5924, allocations: 36 kB / 0.758 GB, free: 10.77 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001585/0.594, allocations: 1.029 MB / 0.759 GB, free: 9.738 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001705/0.5942, allocations: 151.5 kB / 0.7592 GB, free: 9.59 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002443/0.5945, allocations: 230.9 kB / 0.7594 GB, free: 9.363 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001244/0.5957, allocations: 0.9737 MB / 0.7604 GB, free: 8.387 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.5957, allocations: 4 kB / 0.7604 GB, free: 8.383 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.373e-06/0.5957, allocations: 0 / 0.7604 GB, free: 8.383 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.763e-06/0.5958, allocations: 0 / 0.7604 GB, free: 8.383 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.001239/0.597, allocations: 0.8098 MB / 0.7612 GB, free: 7.527 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.292e-05/0.597, allocations: 11.97 kB / 0.7612 GB, free: 7.516 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001167/0.5982, allocations: 179.2 kB / 0.7613 GB, free: 7.34 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005104/0.5987, allocations: 377.4 kB / 0.7617 GB, free: 6.938 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.343e-05/0.5988, allocations: 20.66 kB / 0.7617 GB, free: 6.914 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.483e-05/0.5988, allocations: 35.98 kB / 0.7618 GB, free: 6.879 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006296/0.5995, allocations: 365.1 kB / 0.7621 GB, free: 6.5 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.736e-05/0.5995, allocations: 11.94 kB / 0.7621 GB, free: 6.488 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.096e-05/0.5995, allocations: 12 kB / 0.7621 GB, free: 6.477 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.283e-05/0.5996, allocations: 11.94 kB / 0.7621 GB, free: 6.465 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005151/0.6001, allocations: 254 kB / 0.7624 GB, free: 6.215 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.001934/0.602, allocations: 1.679 MB / 0.764 GB, free: 4.398 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004083/0.6024, allocations: 206.5 kB / 0.7642 GB, free: 4.188 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002326/0.6027, allocations: 115.6 kB / 0.7643 GB, free: 4.074 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001152/0.6039, allocations: 0.87 MB / 0.7652 GB, free: 3.02 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.802e-05/0.6039, allocations: 34.56 kB / 0.7652 GB, free: 2.977 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=23): time 1.403e-06/0.6039, allocations: 0 / 0.7652 GB, free: 2.977 MB / 0.5762 GB Notification: Performance of matching and sorting (n=23): time 0.0008777/0.6048, allocations: 358.2 kB / 0.7655 GB, free: 2.625 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.885e-05/0.6048, allocations: 55.41 kB / 0.7656 GB, free: 2.559 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004685/0.6053, allocations: 421.9 kB / 0.766 GB, free: 2.141 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.191e-05/0.6053, allocations: 33.7 kB / 0.766 GB, free: 2.102 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001705/0.6055, allocations: 216.2 kB / 0.7662 GB, free: 1.887 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 6.772e-05/0.6056, allocations: 74.84 kB / 0.7663 GB, free: 1.812 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.568e-05/0.6057, allocations: 53.61 kB / 0.7664 GB, free: 1.754 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001697/0.6059, allocations: 362.8 kB / 0.7667 GB, free: 1.391 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001842/0.6061, allocations: 79.89 kB / 0.7668 GB, free: 1.312 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002296/0.6063, allocations: 128.5 kB / 0.7669 GB, free: 1.176 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004064/0.6067, allocations: 218.5 kB / 0.7671 GB, free: 0.9531 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.6067, allocations: 0 / 0.7671 GB, free: 0.9531 MB / 0.5762 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005216/0.6072, allocations: 277 kB / 0.7674 GB, free: 0.6758 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.652e-05/0.6073, allocations: 4 kB / 0.7674 GB, free: 0.6719 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.199e-06/0.6073, allocations: 0 / 0.7674 GB, free: 0.6719 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.239e-05/0.6073, allocations: 4 kB / 0.7674 GB, free: 0.668 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002356/0.6075, allocations: 51.91 kB / 0.7674 GB, free: 0.6172 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.526e-06/0.6076, allocations: 4 kB / 0.7674 GB, free: 0.6133 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002333/0.6078, allocations: 43.64 kB / 0.7675 GB, free: 0.5703 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.608e-05/0.6078, allocations: 8 kB / 0.7675 GB, free: 0.5625 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001689/0.608, allocations: 165.8 kB / 0.7676 GB, free: 400 kB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.123e-05/0.6081, allocations: 43.44 kB / 0.7677 GB, free: 356 kB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005806/0.6087, allocations: 296.2 kB / 0.768 GB, free: 60 kB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.6087, allocations: 0 / 0.768 GB, free: 60 kB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.6087, allocations: 0 / 0.768 GB, free: 60 kB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.961e-06/0.6087, allocations: 3.938 kB / 0.768 GB, free: 56 kB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001282/0.61, allocations: 0.8074 MB / 0.7688 GB, free: 15.17 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.658e-06/0.61, allocations: 4 kB / 0.7688 GB, free: 15.17 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002209/0.6102, allocations: 43.91 kB / 0.7688 GB, free: 15.12 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.44e-06/0.6103, allocations: 4 kB / 0.7688 GB, free: 15.12 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.085e-05/0.6103, allocations: 8 kB / 0.7688 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.078e-06/0.6103, allocations: 4 kB / 0.7688 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.6103, allocations: 4.188 kB / 0.7688 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000809/0.6111, allocations: 0.509 MB / 0.7693 GB, free: 14.56 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001581/0.6113, allocations: 144.6 kB / 0.7695 GB, free: 14.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.573e-05/0.6113, allocations: 4 kB / 0.7695 GB, free: 14.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002768/0.6116, allocations: 23.89 kB / 0.7695 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.306e-05/0.6117, allocations: 31.84 kB / 0.7695 GB, free: 14.34 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.851e-05/0.6117, allocations: 8 kB / 0.7695 GB, free: 14.34 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003385/0.6121, allocations: 307.1 kB / 0.7698 GB, free: 14.04 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6121, allocations: 0 / 0.7698 GB, free: 14.04 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.000429/0.6125, allocations: 111.8 kB / 0.7699 GB, free: 13.93 MB / 0.5919 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.0004501/0.613, allocations: 201.3 kB / 0.7701 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0004963/0.6135, allocations: 215.7 kB / 0.7703 GB, free: 13.52 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.6135, allocations: 0 / 0.7703 GB, free: 13.52 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002313/0.6137, allocations: 119.9 kB / 0.7704 GB, free: 13.4 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001044/0.6148, allocations: 216.3 kB / 0.7706 GB, free: 13.21 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00159/0.6164, allocations: 1.03 MB / 0.7717 GB, free: 12.15 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004825/0.6169, allocations: 0.831 MB / 0.7725 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0002841/0.6172, allocations: 91.33 kB / 0.7726 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.226e-05/0.6172, allocations: 31.44 kB / 0.7726 GB, free: 11.17 MB / 0.5919 GB Notification: Performance of SimCode: time 2.21e-07/0.6172, allocations: 0 / 0.7726 GB, free: 11.17 MB / 0.5919 GB Notification: Performance of Templates: time 0.01462/0.6319, allocations: 7.955 MB / 0.7804 GB, free: 3.383 MB / 0.5919 GB make -j1 -f IDEAS_dev_IDEAS.Airflow.Multizone.Examples.Orifice.makefile (rm -f IDEAS_dev_IDEAS.Airflow.Multizone.Examples.Orifice.pipe ; mkfifo IDEAS_dev_IDEAS.Airflow.Multizone.Examples.Orifice.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Airflow.Multizone.Examples.Orifice.pipe >> ../files/IDEAS_dev_IDEAS.Airflow.Multizone.Examples.Orifice.sim & ./IDEAS_dev_IDEAS.Airflow.Multizone.Examples.Orifice -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Airflow.Multizone.Examples.Orifice.pipe 2>&1)