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.001165/0.001165, 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.001158/0.001158, allocations: 189 kB / 16.25 MB, free: 6.582 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.18/1.18, allocations: 222.9 MB / 239.9 MB, free: 4.5 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6749/0.6749, allocations: 132.2 MB / 422.3 MB, free: 1.949 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001097/0.001097, allocations: 63.8 kB / 0.5013 GB, free: 9.035 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1231/0.1242, allocations: 80.2 MB / 0.5797 GB, free: 9.059 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.Orifice): time 0.3422/0.4665, allocations: 171.5 MB / 0.7471 GB, free: 5.328 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.003047/0.4696, allocations: 2.28 MB / 0.7494 GB, free: 3.633 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002041/0.4698, allocations: 15 kB / 0.7494 GB, free: 3.625 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0005373/0.4704, allocations: 191.9 kB / 0.7496 GB, free: 3.469 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001524/0.4719, allocations: 0.8885 MB / 0.7504 GB, free: 2.805 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001389/0.4733, allocations: 0.7552 MB / 0.7512 GB, free: 2.281 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.000785/0.4741, allocations: 0.9734 MB / 0.7521 GB, free: 1.73 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003496/0.4745, allocations: 318.5 kB / 0.7524 GB, free: 1.531 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004789/0.4749, allocations: 464.2 kB / 0.7529 GB, free: 1.281 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002878/0.4752, allocations: 334.7 kB / 0.7532 GB, free: 1.086 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 5.41e-05/0.4753, allocations: 33.75 kB / 0.7532 GB, free: 1.086 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001127/0.4764, allocations: 1.03 MB / 0.7542 GB, free: 364 kB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001222/0.4766, allocations: 143.6 kB / 0.7544 GB, free: 220 kB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001926/0.4768, allocations: 246.8 kB / 0.7546 GB, free: 15.97 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0009563/0.4777, allocations: 0.9698 MB / 0.7556 GB, free: 15 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.4778, allocations: 0 / 0.7556 GB, free: 15 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.042e-06/0.4778, allocations: 0 / 0.7556 GB, free: 15 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.772e-06/0.4778, allocations: 4 kB / 0.7556 GB, free: 15 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.00101/0.4788, allocations: 0.8026 MB / 0.7563 GB, free: 14.15 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.164e-05/0.4788, allocations: 12.03 kB / 0.7564 GB, free: 14.14 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.309e-05/0.4789, allocations: 66.53 kB / 0.7564 GB, free: 14.07 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001163/0.4801, allocations: 179.2 kB / 0.7566 GB, free: 13.89 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004163/0.4805, allocations: 373.4 kB / 0.7569 GB, free: 13.49 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.22e-05/0.4805, allocations: 24.66 kB / 0.757 GB, free: 13.46 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.301e-05/0.4806, allocations: 28 kB / 0.757 GB, free: 13.44 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000533/0.4811, allocations: 373.1 kB / 0.7573 GB, free: 13.05 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.268e-05/0.4811, allocations: 0 / 0.7573 GB, free: 13.05 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.143e-05/0.4812, allocations: 16 kB / 0.7574 GB, free: 13.04 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.164e-05/0.4812, allocations: 19.86 kB / 0.7574 GB, free: 13.02 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004487/0.4817, allocations: 263.9 kB / 0.7576 GB, free: 12.76 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.001472/0.4831, allocations: 1.675 MB / 0.7593 GB, free: 10.95 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003466/0.4835, allocations: 202.5 kB / 0.7595 GB, free: 10.74 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001936/0.4837, allocations: 112.8 kB / 0.7596 GB, free: 10.62 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008955/0.4846, allocations: 0.8701 MB / 0.7604 GB, free: 9.57 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.722e-05/0.4846, allocations: 38.55 kB / 0.7605 GB, free: 9.523 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=23): time 2.595e-06/0.4847, allocations: 0 / 0.7605 GB, free: 9.523 MB / 0.5762 GB Notification: Performance of matching and sorting (n=23): time 0.0007753/0.4854, allocations: 358 kB / 0.7608 GB, free: 9.172 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.732e-05/0.4855, allocations: 55.39 kB / 0.7609 GB, free: 9.105 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003769/0.4859, allocations: 426 kB / 0.7613 GB, free: 8.684 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.236e-05/0.4859, allocations: 25.7 kB / 0.7613 GB, free: 8.652 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001252/0.486, allocations: 216.2 kB / 0.7615 GB, free: 8.434 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 5.558e-05/0.4861, allocations: 82.84 kB / 0.7616 GB, free: 8.352 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.501e-05/0.4862, allocations: 53.61 kB / 0.7616 GB, free: 8.293 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001036/0.4863, allocations: 354.7 kB / 0.762 GB, free: 7.938 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001704/0.4864, allocations: 75.95 kB / 0.762 GB, free: 7.863 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001934/0.4866, allocations: 128.5 kB / 0.7622 GB, free: 7.727 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003502/0.487, allocations: 210.5 kB / 0.7624 GB, free: 7.512 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.487, allocations: 0 / 0.7624 GB, free: 7.512 MB / 0.5762 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004744/0.4875, allocations: 285 kB / 0.7626 GB, free: 7.227 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.211e-05/0.4875, allocations: 8 kB / 0.7626 GB, free: 7.219 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.968e-06/0.4875, allocations: 0 / 0.7626 GB, free: 7.219 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.144e-05/0.4875, allocations: 7.688 kB / 0.7626 GB, free: 7.215 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002159/0.4878, allocations: 51.91 kB / 0.7627 GB, free: 7.164 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.663e-06/0.4878, allocations: 11.88 kB / 0.7627 GB, free: 7.152 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002179/0.488, allocations: 39.7 kB / 0.7627 GB, free: 7.113 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.608e-05/0.488, allocations: 15.98 kB / 0.7628 GB, free: 7.098 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.0001365/0.4882, allocations: 159.4 kB / 0.7629 GB, free: 6.934 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.511e-05/0.4882, allocations: 51.38 kB / 0.763 GB, free: 6.883 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005066/0.4887, allocations: 280.5 kB / 0.7632 GB, free: 6.605 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.07e-06/0.4888, allocations: 4 kB / 0.7632 GB, free: 6.602 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/0.4888, allocations: 7.938 kB / 0.7632 GB, free: 6.594 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.4888, allocations: 0 / 0.7632 GB, free: 6.594 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001031/0.4898, allocations: 0.8112 MB / 0.764 GB, free: 5.707 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.4898, allocations: 0 / 0.764 GB, free: 5.707 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002103/0.49, allocations: 47.91 kB / 0.7641 GB, free: 5.66 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.726e-06/0.4901, allocations: 0 / 0.7641 GB, free: 5.66 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.96e-05/0.4901, allocations: 8 kB / 0.7641 GB, free: 5.652 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.4901, allocations: 4 kB / 0.7641 GB, free: 5.648 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.4901, allocations: 4 kB / 0.7641 GB, free: 5.645 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006696/0.4908, allocations: 0.5023 MB / 0.7646 GB, free: 5.109 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001289/0.4909, allocations: 152.5 kB / 0.7647 GB, free: 4.941 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.594e-05/0.491, allocations: 11.5 kB / 0.7647 GB, free: 4.934 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000279/0.4913, allocations: 23.97 kB / 0.7648 GB, free: 4.91 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.439e-05/0.4913, allocations: 11.98 kB / 0.7648 GB, free: 4.898 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.858e-05/0.4913, allocations: 15.94 kB / 0.7648 GB, free: 4.883 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002599/0.4916, allocations: 303.1 kB / 0.7651 GB, free: 4.59 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.71e-07/0.4916, allocations: 0 / 0.7651 GB, free: 4.59 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003672/0.492, allocations: 123.8 kB / 0.7652 GB, free: 4.469 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.001115/0.4931, allocations: 1.125 MB / 0.7663 GB, free: 3.301 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0004287/0.4935, allocations: 220 kB / 0.7665 GB, free: 3.09 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.4936, allocations: 0 / 0.7665 GB, free: 3.09 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002027/0.4938, allocations: 118 kB / 0.7666 GB, free: 2.977 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009707/0.4947, allocations: 222.3 kB / 0.7668 GB, free: 2.781 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004143/0.4989, allocations: 3.853 MB / 0.7706 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003033/0.4992, allocations: 0.8194 MB / 0.7714 GB, free: 13.96 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0002663/0.4995, allocations: 83.36 kB / 0.7715 GB, free: 13.88 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00016/0.4997, allocations: 143.4 kB / 0.7716 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of SimCode: time 2.51e-07/0.4997, allocations: 0 / 0.7716 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02185/0.5215, allocations: 11.81 MB / 0.7831 GB, free: 2.211 MB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001956/0.5217, allocations: 226 kB / 0.7833 GB, free: 1.957 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.826/2.348, allocations: 4 kB / 0.7834 GB, free: 1.953 MB / 0.5919 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Airflow_Multizone_Examples_Orifice_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Airflow_Multizone_Examples_Orifice.fmu > IDEAS_IDEAS.Airflow.Multizone.Examples.Orifice.pipe 2>&1)