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: "" <> buildModelFMU(IDEAS.Airflow.Multizone.Examples.Orifice,fileNamePrefix="IDEAS_IDEAS_Airflow_Multizone_Examples_Orifice",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Airflow.Multizone.Examples.Orifice,fileNamePrefix="IDEAS_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.001017/0.001017, allocations: 108 kB / 15.61 MB, free: 152 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.0009916/0.0009915, allocations: 195.3 kB / 16.53 MB, free: 6.664 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.212/1.212, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6986/0.6986, allocations: 132.2 MB / 422.6 MB, free: 1.781 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001132/0.001132, allocations: 67.92 kB / 0.5019 GB, free: 8.637 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1234/0.1246, allocations: 80.19 MB / 0.5802 GB, free: 8.66 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.Orifice): time 0.3526/0.4772, allocations: 173.8 MB / 0.7499 GB, free: 3.035 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.003188/0.4804, allocations: 2.292 MB / 0.7522 GB, free: 1.168 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002159/0.4806, allocations: 14.22 kB / 0.7522 GB, free: 1.164 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0005731/0.4812, allocations: 234.6 kB / 0.7524 GB, free: 0.9648 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001636/0.4829, allocations: 0.9287 MB / 0.7533 GB, free: 264 kB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001491/0.4844, allocations: 0.8217 MB / 0.7541 GB, free: 15.66 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0007971/0.4852, allocations: 0.9691 MB / 0.7551 GB, free: 15.11 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003744/0.4856, allocations: 320 kB / 0.7554 GB, free: 14.92 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004979/0.4861, allocations: 458.7 kB / 0.7558 GB, free: 14.67 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002967/0.4864, allocations: 317 kB / 0.7561 GB, free: 14.48 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.845e-05/0.4864, allocations: 31.62 kB / 0.7561 GB, free: 14.48 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001298/0.4877, allocations: 0.9859 MB / 0.7571 GB, free: 13.62 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001398/0.4879, allocations: 151.5 kB / 0.7572 GB, free: 13.48 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001962/0.4881, allocations: 230.9 kB / 0.7575 GB, free: 13.25 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0009816/0.4891, allocations: 0.9038 MB / 0.7583 GB, free: 12.34 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.297e-06/0.4891, allocations: 0 / 0.7583 GB, free: 12.34 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.052e-06/0.4891, allocations: 0 / 0.7583 GB, free: 12.34 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.252e-06/0.4891, allocations: 0 / 0.7583 GB, free: 12.34 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.001045/0.4902, allocations: 0.8085 MB / 0.7591 GB, free: 11.49 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.056e-05/0.4902, allocations: 12.03 kB / 0.7591 GB, free: 11.48 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.776e-05/0.4903, allocations: 66.53 kB / 0.7592 GB, free: 11.41 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001121/0.4914, allocations: 179.2 kB / 0.7594 GB, free: 11.23 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004321/0.4918, allocations: 377.4 kB / 0.7597 GB, free: 10.82 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.18e-05/0.4919, allocations: 27.78 kB / 0.7598 GB, free: 10.8 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.617e-05/0.4919, allocations: 28 kB / 0.7598 GB, free: 10.77 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005281/0.4925, allocations: 373.1 kB / 0.7601 GB, free: 10.39 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.329e-05/0.4925, allocations: 0 / 0.7601 GB, free: 10.39 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.933e-05/0.4925, allocations: 23.88 kB / 0.7602 GB, free: 10.36 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.943e-05/0.4925, allocations: 11.94 kB / 0.7602 GB, free: 10.35 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004575/0.493, allocations: 262 kB / 0.7604 GB, free: 10.09 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.001548/0.4946, allocations: 1.683 MB / 0.7621 GB, free: 8.273 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003425/0.4949, allocations: 204.6 kB / 0.7623 GB, free: 8.07 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001982/0.4951, allocations: 112.8 kB / 0.7624 GB, free: 7.957 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008968/0.496, allocations: 0.8779 MB / 0.7632 GB, free: 6.895 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.261e-05/0.4961, allocations: 34.56 kB / 0.7633 GB, free: 6.852 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=23): time 1.333e-06/0.4961, allocations: 0 / 0.7633 GB, free: 6.852 MB / 0.5762 GB Notification: Performance of matching and sorting (n=23): time 0.0007912/0.4969, allocations: 359.5 kB / 0.7636 GB, free: 6.496 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.551e-05/0.4969, allocations: 55.41 kB / 0.7637 GB, free: 6.43 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003896/0.4973, allocations: 425.9 kB / 0.7641 GB, free: 6.008 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.07e-05/0.4973, allocations: 25.7 kB / 0.7641 GB, free: 5.977 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001336/0.4975, allocations: 212.2 kB / 0.7643 GB, free: 5.762 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 5.818e-05/0.4975, allocations: 86.84 kB / 0.7644 GB, free: 5.676 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.914e-05/0.4976, allocations: 53.61 kB / 0.7644 GB, free: 5.617 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001133/0.4977, allocations: 350.7 kB / 0.7648 GB, free: 5.266 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001764/0.4979, allocations: 79.94 kB / 0.7648 GB, free: 5.188 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001985/0.4981, allocations: 120.5 kB / 0.765 GB, free: 5.059 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00036/0.4985, allocations: 218.5 kB / 0.7652 GB, free: 4.836 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.4985, allocations: 0 / 0.7652 GB, free: 4.836 MB / 0.5762 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004661/0.499, allocations: 277 kB / 0.7654 GB, free: 4.559 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.203e-05/0.499, allocations: 8 kB / 0.7654 GB, free: 4.551 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.998e-06/0.499, allocations: 0 / 0.7654 GB, free: 4.551 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.838e-06/0.499, allocations: 4.031 kB / 0.7654 GB, free: 4.547 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002117/0.4992, allocations: 51.91 kB / 0.7655 GB, free: 4.496 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.236e-06/0.4993, allocations: 7.938 kB / 0.7655 GB, free: 4.488 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001979/0.4995, allocations: 27.8 kB / 0.7655 GB, free: 4.461 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.482e-05/0.4995, allocations: 19.92 kB / 0.7655 GB, free: 4.441 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.0001367/0.4996, allocations: 163.3 kB / 0.7657 GB, free: 4.273 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.728e-05/0.4997, allocations: 43.44 kB / 0.7657 GB, free: 4.23 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005292/0.5002, allocations: 295.3 kB / 0.766 GB, free: 3.941 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.5002, allocations: 0 / 0.766 GB, free: 3.941 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.698e-06/0.5003, allocations: 3.938 kB / 0.766 GB, free: 3.938 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.5003, allocations: 4 kB / 0.766 GB, free: 3.934 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001063/0.5013, allocations: 0.8074 MB / 0.7668 GB, free: 3.051 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.497e-06/0.5013, allocations: 4 kB / 0.7668 GB, free: 3.047 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002042/0.5016, allocations: 39.97 kB / 0.7669 GB, free: 3.008 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.529e-06/0.5016, allocations: 4 kB / 0.7669 GB, free: 3.004 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.928e-05/0.5016, allocations: 8 kB / 0.7669 GB, free: 2.996 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.579e-06/0.5016, allocations: 12.12 kB / 0.7669 GB, free: 2.984 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.5016, allocations: 0 / 0.7669 GB, free: 2.984 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006916/0.5023, allocations: 0.5114 MB / 0.7674 GB, free: 2.438 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001356/0.5025, allocations: 148.5 kB / 0.7675 GB, free: 2.273 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.543e-05/0.5025, allocations: 8.875 kB / 0.7675 GB, free: 2.266 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000245/0.5028, allocations: 15.98 kB / 0.7675 GB, free: 2.25 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.605e-05/0.5028, allocations: 11.98 kB / 0.7676 GB, free: 2.238 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.111e-05/0.5028, allocations: 23.92 kB / 0.7676 GB, free: 2.215 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002843/0.5031, allocations: 299.1 kB / 0.7679 GB, free: 1.922 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5031, allocations: 0 / 0.7679 GB, free: 1.922 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.000373/0.5035, allocations: 111.8 kB / 0.768 GB, free: 1.812 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 (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.001168/0.5047, allocations: 1.13 MB / 0.7691 GB, free: 0.6445 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0004405/0.5051, allocations: 220.1 kB / 0.7693 GB, free: 444 kB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.5052, allocations: 4 kB / 0.7693 GB, free: 440 kB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002006/0.5054, allocations: 117.9 kB / 0.7694 GB, free: 324 kB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001005/0.5064, allocations: 228.3 kB / 0.7696 GB, free: 112 kB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004145/0.5105, allocations: 3.73 MB / 0.7733 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003316/0.5109, allocations: 0.8233 MB / 0.7741 GB, free: 11.4 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0002466/0.5111, allocations: 83.34 kB / 0.7741 GB, free: 11.32 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000168/0.5113, allocations: 147.3 kB / 0.7743 GB, free: 11.18 MB / 0.5919 GB Notification: Performance of SimCode: time 2.31e-07/0.5113, allocations: 0 / 0.7743 GB, free: 11.18 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02924/0.5406, allocations: 11.99 MB / 0.786 GB, free: 15.44 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.722/7.263, allocations: 3.406 kB / 0.786 GB, free: 15.44 MB / 0.6075 GB (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 & python3 -m fmpy simulate --output-file IDEAS_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_IDEAS_Airflow_Multizone_Examples_Orifice.fmu > IDEAS_IDEAS.Airflow.Multizone.Examples.Orifice.pipe 2>&1)