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.001881/0.001881, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00256/0.00256, allocations: 195.5 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.454/2.454, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.877/1.877, allocations: 135.1 MB / 425.5 MB, free: 12.07 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002051/0.002051, allocations: 68.25 kB / 0.5054 GB, free: 5.207 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3168/0.3189, allocations: 80.92 MB / 0.5845 GB, free: 4.449 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.Orifice): time 0.883/1.202, allocations: 173.8 MB / 0.7542 GB, free: 13.9 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.00687/1.209, allocations: 2.297 MB / 0.7564 GB, free: 12.03 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000869/1.21, allocations: 18.47 kB / 0.7564 GB, free: 12.02 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001313/1.211, allocations: 228.2 kB / 0.7567 GB, free: 11.83 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.004615/1.216, allocations: 0.9322 MB / 0.7576 GB, free: 11.12 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004211/1.22, allocations: 0.823 MB / 0.7584 GB, free: 10.52 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002627/1.223, allocations: 0.967 MB / 0.7593 GB, free: 9.785 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001014/1.224, allocations: 330.9 kB / 0.7596 GB, free: 9.457 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00167/1.226, allocations: 450.3 kB / 0.7601 GB, free: 9.016 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009152/1.226, allocations: 318.7 kB / 0.7604 GB, free: 8.703 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001587/1.227, allocations: 35.94 kB / 0.7604 GB, free: 8.668 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003837/1.23, allocations: 0.9859 MB / 0.7614 GB, free: 7.68 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003737/1.231, allocations: 147.6 kB / 0.7615 GB, free: 7.535 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0006232/1.232, allocations: 238.8 kB / 0.7617 GB, free: 7.301 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002804/1.234, allocations: 0.896 MB / 0.7626 GB, free: 6.402 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.592e-06/1.234, allocations: 0 / 0.7626 GB, free: 6.402 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.094e-06/1.234, allocations: 0 / 0.7626 GB, free: 6.402 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.709e-05/1.234, allocations: 0 / 0.7626 GB, free: 6.402 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.002175/1.237, allocations: 0.8099 MB / 0.7634 GB, free: 5.547 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.246e-05/1.237, allocations: 11.97 kB / 0.7634 GB, free: 5.535 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001207/1.237, allocations: 66.53 kB / 0.7635 GB, free: 5.461 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002574/1.239, allocations: 183.2 kB / 0.7637 GB, free: 5.281 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009895/1.24, allocations: 377.4 kB / 0.764 GB, free: 4.879 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.799e-05/1.241, allocations: 20.66 kB / 0.764 GB, free: 4.855 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001027/1.241, allocations: 32 kB / 0.7641 GB, free: 4.824 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001169/1.242, allocations: 373.1 kB / 0.7644 GB, free: 4.438 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.62e-05/1.242, allocations: 7.938 kB / 0.7644 GB, free: 4.43 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.373e-05/1.242, allocations: 12 kB / 0.7644 GB, free: 4.418 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.058e-05/1.242, allocations: 11.94 kB / 0.7644 GB, free: 4.406 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001016/1.243, allocations: 262 kB / 0.7647 GB, free: 4.148 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.003362/1.246, allocations: 1.679 MB / 0.7663 GB, free: 2.332 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006882/1.247, allocations: 194.5 kB / 0.7665 GB, free: 2.133 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004927/1.248, allocations: 117.8 kB / 0.7666 GB, free: 2.016 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001946/1.25, allocations: 0.8701 MB / 0.7675 GB, free: 0.9609 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.779e-05/1.25, allocations: 43.12 kB / 0.7675 GB, free: 0.9102 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=23): time 4.869e-06/1.25, allocations: 0 / 0.7675 GB, free: 0.9102 MB / 0.5762 GB Notification: Performance of matching and sorting (n=23): time 0.001766/1.252, allocations: 356.9 kB / 0.7679 GB, free: 0.5586 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.431e-05/1.252, allocations: 55.41 kB / 0.7679 GB, free: 0.4922 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009358/1.253, allocations: 425.9 kB / 0.7683 GB, free: 72 kB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.969e-05/1.253, allocations: 29.81 kB / 0.7684 GB, free: 36 kB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003093/1.253, allocations: 216.2 kB / 0.7686 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001284/1.253, allocations: 82.84 kB / 0.7686 GB, free: 15.74 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001648/1.253, allocations: 53.61 kB / 0.7687 GB, free: 15.68 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0002411/1.254, allocations: 350.7 kB / 0.769 GB, free: 15.33 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003943/1.254, allocations: 83.94 kB / 0.7691 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004273/1.254, allocations: 128.5 kB / 0.7692 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007855/1.255, allocations: 210.2 kB / 0.7694 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.53e-06/1.255, allocations: 0 / 0.7694 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001108/1.256, allocations: 282.7 kB / 0.7697 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 3.256e-05/1.256, allocations: 8 kB / 0.7697 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.668e-06/1.256, allocations: 0 / 0.7697 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.347e-05/1.256, allocations: 4.031 kB / 0.7697 GB, free: 14.6 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004844/1.257, allocations: 51.91 kB / 0.7698 GB, free: 14.55 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.863e-05/1.257, allocations: 7.938 kB / 0.7698 GB, free: 14.54 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004684/1.257, allocations: 27.69 kB / 0.7698 GB, free: 14.52 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.307e-05/1.258, allocations: 11.98 kB / 0.7698 GB, free: 14.5 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.0003185/1.258, allocations: 163.1 kB / 0.77 GB, free: 14.34 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001759/1.258, allocations: 43.44 kB / 0.77 GB, free: 14.29 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001072/1.259, allocations: 297 kB / 0.7703 GB, free: 14 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.162e-06/1.259, allocations: 0 / 0.7703 GB, free: 14 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.116e-05/1.259, allocations: 3.938 kB / 0.7703 GB, free: 14 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.653e-06/1.259, allocations: 3.938 kB / 0.7703 GB, free: 14 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003157/1.262, allocations: 0.8133 MB / 0.7711 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.015e-05/1.262, allocations: 4 kB / 0.7711 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004373/1.263, allocations: 43.91 kB / 0.7711 GB, free: 13.06 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.567e-05/1.263, allocations: 4 kB / 0.7711 GB, free: 13.06 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.815e-05/1.263, allocations: 8 kB / 0.7711 GB, free: 13.05 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.531e-05/1.263, allocations: 4.188 kB / 0.7711 GB, free: 13.05 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.522e-06/1.263, allocations: 7.984 kB / 0.7712 GB, free: 13.04 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001533/1.265, allocations: 0.5036 MB / 0.7716 GB, free: 12.5 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000322/1.265, allocations: 144.6 kB / 0.7718 GB, free: 12.34 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001232/1.265, allocations: 4 kB / 0.7718 GB, free: 12.34 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005808/1.266, allocations: 15.98 kB / 0.7718 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001092/1.266, allocations: 19.97 kB / 0.7718 GB, free: 12.3 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.967e-05/1.266, allocations: 15.94 kB / 0.7718 GB, free: 12.29 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0006717/1.267, allocations: 303.1 kB / 0.7721 GB, free: 11.99 MB / 0.5919 GB Notification: Performance of sort global known variables: time 5.01e-06/1.267, allocations: 3.938 kB / 0.7721 GB, free: 11.99 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0009283/1.268, allocations: 115.8 kB / 0.7722 GB, free: 11.88 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.002669/1.27, allocations: 1.127 MB / 0.7733 GB, free: 10.71 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001007/1.271, allocations: 213.6 kB / 0.7735 GB, free: 10.5 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.029e-05/1.271, allocations: 4 kB / 0.7736 GB, free: 10.5 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0004567/1.272, allocations: 123.7 kB / 0.7737 GB, free: 10.38 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002236/1.274, allocations: 231 kB / 0.7739 GB, free: 10.18 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01053/1.285, allocations: 3.73 MB / 0.7775 GB, free: 6.332 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008538/1.285, allocations: 0.8272 MB / 0.7783 GB, free: 5.477 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0008542/1.286, allocations: 91.33 kB / 0.7784 GB, free: 5.387 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003397/1.287, allocations: 135.4 kB / 0.7786 GB, free: 5.254 MB / 0.5919 GB Notification: Performance of SimCode: time 1.643e-06/1.287, allocations: 0 / 0.7786 GB, free: 5.254 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1666/1.453, allocations: 11.98 MB / 0.7903 GB, free: 9.492 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.94/19.4, allocations: 3.188 kB / 0.7903 GB, free: 9.492 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 & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Airflow.Multizone.Examples.Orifice_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_dev_IDEAS_Airflow_Multizone_Examples_Orifice.fmu > IDEAS_dev_IDEAS.Airflow.Multizone.Examples.Orifice.pipe 2>&1)