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.001159/0.001159, allocations: 107.6 kB / 16.36 MB, free: 6.285 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.001283/0.001283, allocations: 191.6 kB / 17.29 MB, free: 5.863 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.392/1.392, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.791/0.791, allocations: 132.2 MB / 423.3 MB, free: 6.586 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001288/0.001288, allocations: 71.89 kB / 0.5032 GB, free: 10.95 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3795/0.3808, allocations: 80.18 MB / 0.5815 GB, free: 27.61 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.Orifice): time 0.5953/0.9761, allocations: 173.8 MB / 0.7512 GB, free: 1.766 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.004181/0.9804, allocations: 2.291 MB / 0.7535 GB, free: 1.75 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004893/0.9809, allocations: 16.44 kB / 0.7535 GB, free: 1.75 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0007457/0.9816, allocations: 234.2 kB / 0.7537 GB, free: 1.746 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002217/0.9839, allocations: 0.9291 MB / 0.7546 GB, free: 1.715 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002055/0.986, allocations: 0.8315 MB / 0.7554 GB, free: 1.688 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001217/0.9872, allocations: 0.9598 MB / 0.7563 GB, free: 1.684 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004757/0.9877, allocations: 327.4 kB / 0.7567 GB, free: 1.66 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007326/0.9885, allocations: 458.9 kB / 0.7571 GB, free: 1.66 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00039/0.9889, allocations: 315.8 kB / 0.7574 GB, free: 1.656 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 5.278e-05/0.9889, allocations: 32 kB / 0.7574 GB, free: 1.656 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002184/0.9911, allocations: 0.9986 MB / 0.7584 GB, free: 1.645 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002218/0.9913, allocations: 147.9 kB / 0.7585 GB, free: 1.645 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003392/0.9917, allocations: 242.2 kB / 0.7588 GB, free: 1.645 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001887/0.9936, allocations: 0.9032 MB / 0.7597 GB, free: 1.594 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.9936, allocations: 1.625 kB / 0.7597 GB, free: 1.594 MB / 0.5762 GB Notification: Performance of FrontEnd: time 3.356e-06/0.9936, allocations: 0 / 0.7597 GB, free: 1.594 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.727e-06/0.9936, allocations: 2.094 kB / 0.7597 GB, free: 1.594 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.001621/0.9953, allocations: 0.8072 MB / 0.7605 GB, free: 17.05 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.837e-05/0.9953, allocations: 9.781 kB / 0.7605 GB, free: 17.05 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001381/0.9967, allocations: 179.1 kB / 0.7606 GB, free: 17.02 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007423/0.9975, allocations: 388.2 kB / 0.761 GB, free: 16.78 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.05e-05/0.9975, allocations: 23.94 kB / 0.761 GB, free: 16.78 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.842e-05/0.9976, allocations: 31.59 kB / 0.7611 GB, free: 16.78 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007102/0.9983, allocations: 372.9 kB / 0.7614 GB, free: 16.69 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.68e-05/0.9983, allocations: 0.9375 kB / 0.7614 GB, free: 16.69 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.263e-05/0.9984, allocations: 14.59 kB / 0.7614 GB, free: 16.69 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.163e-05/0.9984, allocations: 10.06 kB / 0.7614 GB, free: 16.69 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005914/0.999, allocations: 266 kB / 0.7617 GB, free: 16.68 MB / 0.5919 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.002089/1.001, allocations: 1.672 MB / 0.7633 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004525/1.002, allocations: 211 kB / 0.7635 GB, free: 15.52 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002556/1.002, allocations: 112.1 kB / 0.7636 GB, free: 15.51 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001051/1.003, allocations: 0.8801 MB / 0.7645 GB, free: 14.57 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.147e-05/1.003, allocations: 33.28 kB / 0.7645 GB, free: 14.53 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=23): time 2.144e-06/1.003, allocations: 0 / 0.7645 GB, free: 14.53 MB / 0.5919 GB Notification: Performance of matching and sorting (n=23): time 0.0008467/1.004, allocations: 356.9 kB / 0.7649 GB, free: 14.48 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.707e-05/1.004, allocations: 55.16 kB / 0.7649 GB, free: 14.41 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004267/1.004, allocations: 420.9 kB / 0.7653 GB, free: 14.31 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.166e-05/1.004, allocations: 32.8 kB / 0.7653 GB, free: 14.28 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001384/1.004, allocations: 213.3 kB / 0.7655 GB, free: 14.17 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 5.462e-05/1.005, allocations: 84.19 kB / 0.7656 GB, free: 14.12 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.586e-05/1.005, allocations: 53.34 kB / 0.7657 GB, free: 14.1 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001456/1.005, allocations: 354.3 kB / 0.766 GB, free: 13.79 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001654/1.005, allocations: 78.38 kB / 0.7661 GB, free: 13.79 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002083/1.005, allocations: 123.7 kB / 0.7662 GB, free: 13.76 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003412/1.005, allocations: 216.3 kB / 0.7664 GB, free: 13.72 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/1.006, allocations: 0 / 0.7664 GB, free: 13.72 MB / 0.5919 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004587/1.006, allocations: 281.9 kB / 0.7667 GB, free: 13.66 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.723e-05/1.006, allocations: 5.906 kB / 0.7667 GB, free: 13.66 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/1.006, allocations: 3.094 kB / 0.7667 GB, free: 13.66 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.636e-05/1.006, allocations: 0.9062 kB / 0.7667 GB, free: 13.66 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002181/1.006, allocations: 51.8 kB / 0.7667 GB, free: 13.66 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.115e-06/1.006, allocations: 7.562 kB / 0.7668 GB, free: 13.66 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002388/1.007, allocations: 32.94 kB / 0.7668 GB, free: 13.65 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.486e-05/1.007, allocations: 9.562 kB / 0.7668 GB, free: 13.65 MB / 0.5919 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.0001659/1.007, allocations: 164.4 kB / 0.7669 GB, free: 13.53 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.673e-05/1.007, allocations: 46.91 kB / 0.767 GB, free: 13.51 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006043/1.007, allocations: 287.1 kB / 0.7673 GB, free: 13.46 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.094e-06/1.007, allocations: 2.812 kB / 0.7673 GB, free: 13.46 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/1.007, allocations: 1.344 kB / 0.7673 GB, free: 13.46 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.327e-06/1.007, allocations: 0 / 0.7673 GB, free: 13.46 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001293/1.009, allocations: 0.8109 MB / 0.7681 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.889e-06/1.009, allocations: 2.859 kB / 0.7681 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002358/1.009, allocations: 47.31 kB / 0.7681 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.354e-06/1.009, allocations: 3.062 kB / 0.7681 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.319e-05/1.009, allocations: 12.69 kB / 0.7681 GB, free: 13.1 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.522e-06/1.009, allocations: 3 kB / 0.7681 GB, free: 13.1 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.985e-06/1.009, allocations: 2.125 kB / 0.7681 GB, free: 13.1 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007466/1.01, allocations: 0.501 MB / 0.7686 GB, free: 12.9 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001774/1.01, allocations: 154.2 kB / 0.7688 GB, free: 12.77 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.679e-05/1.01, allocations: 13.12 kB / 0.7688 GB, free: 12.77 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002476/1.01, allocations: 15.38 kB / 0.7688 GB, free: 12.77 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.745e-05/1.01, allocations: 21.53 kB / 0.7688 GB, free: 12.77 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.808e-05/1.01, allocations: 10.3 kB / 0.7688 GB, free: 12.77 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002803/1.011, allocations: 299.9 kB / 0.7691 GB, free: 12.69 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.4e-07/1.011, allocations: 0.9062 kB / 0.7691 GB, free: 12.69 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0005193/1.011, allocations: 115.6 kB / 0.7692 GB, free: 12.68 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.0004552/1.012, allocations: 188.8 kB / 0.7694 GB, free: 12.58 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0004316/1.012, allocations: 213.6 kB / 0.7696 GB, free: 12.57 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/1.012, allocations: 0.9375 kB / 0.7696 GB, free: 12.57 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002005/1.012, allocations: 112.2 kB / 0.7697 GB, free: 12.57 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001024/1.013, allocations: 229.1 kB / 0.7699 GB, free: 12.54 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001569/1.015, allocations: 0.8995 MB / 0.7708 GB, free: 12.13 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004132/1.015, allocations: 0.8279 MB / 0.7716 GB, free: 11.43 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0003044/1.016, allocations: 79.19 kB / 0.7717 GB, free: 11.43 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.409e-05/1.016, allocations: 33.19 kB / 0.7717 GB, free: 11.42 MB / 0.5919 GB Notification: Performance of SimCode: time 2.9e-07/1.016, allocations: 1.031 kB / 0.7717 GB, free: 11.42 MB / 0.5919 GB Notification: Performance of Templates: time 0.01366/1.029, allocations: 8.037 MB / 0.7796 GB, free: 11.08 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 -s cvode -lv LOG_STATS > IDEAS_IDEAS.Airflow.Multizone.Examples.Orifice.pipe 2>&1)