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: "" <> buildModelFMU(IDEAS.Airflow.Multizone.Examples.Orifice,fileNamePrefix="IDEAS_dev_IDEAS_Airflow_Multizone_Examples_Orifice",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Airflow.Multizone.Examples.Orifice,fileNamePrefix="IDEAS_dev_IDEAS_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.001134/0.001134, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001136/0.001136, allocations: 191.5 kB / 16.13 MB, free: 6.703 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.167/1.167, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7999/0.7999, allocations: 135.1 MB / 425.1 MB, free: 11.85 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00109/0.001091, allocations: 64.8 kB / 0.5048 GB, free: 5.664 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1185/0.1196, allocations: 80.92 MB / 0.5838 GB, free: 4.91 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.Orifice): time 0.337/0.4566, allocations: 171.6 MB / 0.7513 GB, free: 248 kB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002956/0.4596, allocations: 2.308 MB / 0.7536 GB, free: 14.38 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002004/0.4598, allocations: 15.12 kB / 0.7536 GB, free: 14.37 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0005372/0.4604, allocations: 191.6 kB / 0.7538 GB, free: 14.21 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001466/0.4618, allocations: 0.8829 MB / 0.7547 GB, free: 13.55 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001355/0.4632, allocations: 0.7482 MB / 0.7554 GB, free: 13.02 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0009697/0.4642, allocations: 1.342 MB / 0.7567 GB, free: 12.28 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003234/0.4645, allocations: 282.3 kB / 0.757 GB, free: 12.07 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004862/0.465, allocations: 418.3 kB / 0.7574 GB, free: 11.66 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003088/0.4653, allocations: 326.6 kB / 0.7577 GB, free: 11.34 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.75e-05/0.4654, allocations: 24 kB / 0.7577 GB, free: 11.31 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001387/0.4668, allocations: 1.169 MB / 0.7588 GB, free: 10.14 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001247/0.4669, allocations: 143.5 kB / 0.759 GB, free: 10 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001858/0.4671, allocations: 222.8 kB / 0.7592 GB, free: 9.781 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.000983/0.4681, allocations: 0.9465 MB / 0.7601 GB, free: 8.832 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.4681, allocations: 0 / 0.7601 GB, free: 8.832 MB / 0.5762 GB Notification: Performance of FrontEnd: time 6.91e-07/0.4681, allocations: 3.938 kB / 0.7601 GB, free: 8.828 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.491e-06/0.4681, allocations: 0 / 0.7601 GB, free: 8.828 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.001012/0.4691, allocations: 0.8099 MB / 0.7609 GB, free: 7.973 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.411e-05/0.4692, allocations: 12.03 kB / 0.7609 GB, free: 7.961 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.384e-05/0.4693, allocations: 66.52 kB / 0.761 GB, free: 7.887 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001151/0.4704, allocations: 175.2 kB / 0.7612 GB, free: 7.715 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004093/0.4708, allocations: 377.4 kB / 0.7615 GB, free: 7.312 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.034e-05/0.4709, allocations: 27.97 kB / 0.7615 GB, free: 7.289 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.549e-05/0.4709, allocations: 32 kB / 0.7616 GB, free: 7.258 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005269/0.4714, allocations: 373.1 kB / 0.7619 GB, free: 6.867 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/0.4715, allocations: 0 / 0.7619 GB, free: 6.867 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.847e-05/0.4715, allocations: 12 kB / 0.7619 GB, free: 6.855 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.933e-05/0.4715, allocations: 15.94 kB / 0.762 GB, free: 6.84 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004682/0.472, allocations: 266 kB / 0.7622 GB, free: 6.578 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.001465/0.4735, allocations: 1.664 MB / 0.7638 GB, free: 4.777 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003449/0.4738, allocations: 207.4 kB / 0.764 GB, free: 4.566 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002019/0.474, allocations: 116.8 kB / 0.7641 GB, free: 4.449 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008833/0.4749, allocations: 0.874 MB / 0.765 GB, free: 3.391 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.223e-05/0.475, allocations: 34.56 kB / 0.765 GB, free: 3.348 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=23): time 1.253e-06/0.475, allocations: 0 / 0.765 GB, free: 3.348 MB / 0.5762 GB Notification: Performance of matching and sorting (n=23): time 0.0007896/0.4758, allocations: 358.1 kB / 0.7654 GB, free: 2.996 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.764e-05/0.4758, allocations: 63.34 kB / 0.7654 GB, free: 2.922 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003752/0.4762, allocations: 422 kB / 0.7658 GB, free: 2.504 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.262e-05/0.4762, allocations: 29.7 kB / 0.7659 GB, free: 2.469 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001216/0.4763, allocations: 212.2 kB / 0.7661 GB, free: 2.258 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 5.289e-05/0.4764, allocations: 86.78 kB / 0.7661 GB, free: 2.172 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.446e-05/0.4765, allocations: 53.61 kB / 0.7662 GB, free: 2.113 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001018/0.4766, allocations: 350.7 kB / 0.7665 GB, free: 1.762 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001757/0.4768, allocations: 83.95 kB / 0.7666 GB, free: 1.68 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001999/0.477, allocations: 124.5 kB / 0.7667 GB, free: 1.547 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003481/0.4773, allocations: 202.1 kB / 0.7669 GB, free: 1.34 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.4773, allocations: 4.031 kB / 0.7669 GB, free: 1.336 MB / 0.5762 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004705/0.4778, allocations: 281 kB / 0.7672 GB, free: 1.055 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.269e-05/0.4778, allocations: 8.109 kB / 0.7672 GB, free: 1.047 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.038e-06/0.4778, allocations: 3.938 kB / 0.7672 GB, free: 1.043 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.026e-05/0.4779, allocations: 3.984 kB / 0.7672 GB, free: 1.039 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002208/0.4781, allocations: 51.92 kB / 0.7673 GB, free: 0.9883 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.888e-06/0.4781, allocations: 7.938 kB / 0.7673 GB, free: 0.9805 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002171/0.4783, allocations: 47.69 kB / 0.7673 GB, free: 0.9336 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.2e-05/0.4784, allocations: 8 kB / 0.7673 GB, free: 0.9258 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.0001361/0.4785, allocations: 157.8 kB / 0.7675 GB, free: 0.7617 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.783e-05/0.4786, allocations: 43.44 kB / 0.7675 GB, free: 0.7188 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00051/0.4791, allocations: 294.8 kB / 0.7678 GB, free: 440 kB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/0.4791, allocations: 4 kB / 0.7678 GB, free: 436 kB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.718e-06/0.4791, allocations: 3.938 kB / 0.7678 GB, free: 432 kB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.4791, allocations: 0 / 0.7678 GB, free: 432 kB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001058/0.4802, allocations: 0.8036 MB / 0.7686 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/0.4802, allocations: 11.92 kB / 0.7686 GB, free: 15.53 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002071/0.4804, allocations: 43.98 kB / 0.7686 GB, free: 15.48 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.4804, allocations: 0 / 0.7686 GB, free: 15.48 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.006e-05/0.4804, allocations: 8 kB / 0.7686 GB, free: 15.48 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.242e-06/0.4805, allocations: 11.73 kB / 0.7687 GB, free: 15.47 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.4805, allocations: 3.938 kB / 0.7687 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006732/0.4811, allocations: 0.5 MB / 0.7691 GB, free: 14.93 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001322/0.4813, allocations: 144.6 kB / 0.7693 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.557e-05/0.4813, allocations: 8 kB / 0.7693 GB, free: 14.76 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002718/0.4816, allocations: 27.88 kB / 0.7693 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.405e-05/0.4817, allocations: 19.92 kB / 0.7693 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.905e-05/0.4817, allocations: 15.94 kB / 0.7694 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002728/0.482, allocations: 299.1 kB / 0.7696 GB, free: 14.41 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.3e-07/0.482, allocations: 0 / 0.7696 GB, free: 14.41 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003834/0.4824, allocations: 123.8 kB / 0.7698 GB, free: 14.29 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.001131/0.4835, allocations: 1.124 MB / 0.7709 GB, free: 13.13 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0004122/0.4839, allocations: 203.7 kB / 0.7711 GB, free: 12.93 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.4839, allocations: 64 / 0.7711 GB, free: 12.93 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002071/0.4842, allocations: 119.8 kB / 0.7712 GB, free: 12.81 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009883/0.4851, allocations: 221.2 kB / 0.7714 GB, free: 12.61 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004218/0.4894, allocations: 3.851 MB / 0.7751 GB, free: 8.648 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003181/0.4897, allocations: 0.8347 MB / 0.776 GB, free: 7.785 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0002755/0.49, allocations: 87.05 kB / 0.776 GB, free: 7.707 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001722/0.4902, allocations: 135.4 kB / 0.7762 GB, free: 7.574 MB / 0.5919 GB Notification: Performance of SimCode: time 4.31e-07/0.4902, allocations: 0 / 0.7762 GB, free: 7.574 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4617/0.9519, allocations: 11.5 MB / 0.7874 GB, free: 12.32 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002049/0.9521, allocations: 231.2 kB / 0.7876 GB, free: 12.06 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.835/2.787, allocations: 0 / 0.7876 GB, free: 12.06 MB / 0.6075 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Airflow_Multizone_Examples_Orifice_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Airflow_Multizone_Examples_Orifice.fmu > IDEAS_dev_IDEAS.Airflow.Multizone.Examples.Orifice.pipe 2>&1)