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.000924/0.0009242, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.005261/0.005261, allocations: 172.4 kB / 16.27 MB, free: 6.652 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.203/1.203, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6822/0.6822, allocations: 132.3 MB / 423.8 MB, free: 1.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002683/0.0002683, allocations: 8.562 kB / 0.5041 GB, free: 3.812 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.316/0.3163, allocations: 81.57 MB / 0.5837 GB, free: 4.035 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.Orifice): time 0.1495/0.4658, allocations: 169.3 MB / 0.7491 GB, free: 6.508 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.003023/0.4689, allocations: 2.301 MB / 0.7513 GB, free: 4.203 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002658/0.4691, allocations: 15.94 kB / 0.7514 GB, free: 4.188 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0004949/0.4696, allocations: 182.9 kB / 0.7515 GB, free: 4.008 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001487/0.4711, allocations: 0.8753 MB / 0.7524 GB, free: 3.129 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001449/0.4726, allocations: 0.7644 MB / 0.7531 GB, free: 2.371 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001076/0.4737, allocations: 1.337 MB / 0.7544 GB, free: 1.027 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003411/0.474, allocations: 278.3 kB / 0.7547 GB, free: 0.75 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000478/0.4745, allocations: 414.2 kB / 0.7551 GB, free: 352 kB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003021/0.4748, allocations: 318.6 kB / 0.7554 GB, free: 32 kB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.905e-05/0.4749, allocations: 20 kB / 0.7554 GB, free: 12 kB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001325/0.4762, allocations: 1.165 MB / 0.7566 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001221/0.4764, allocations: 131.5 kB / 0.7567 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0001922/0.4765, allocations: 244.5 kB / 0.7569 GB, free: 14.47 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0009229/0.4775, allocations: 0.9463 MB / 0.7578 GB, free: 13.52 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 2.856e-06/0.4775, allocations: 0 / 0.7578 GB, free: 13.52 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.173e-06/0.4775, allocations: 8 kB / 0.7579 GB, free: 13.51 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 5.3e-06/0.4775, allocations: 0 / 0.7579 GB, free: 13.51 MB / 0.5919 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.0009213/0.4784, allocations: 0.7321 MB / 0.7586 GB, free: 12.73 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.046e-05/0.4785, allocations: 8.031 kB / 0.7586 GB, free: 12.72 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.804e-05/0.4785, allocations: 66.53 kB / 0.7586 GB, free: 12.65 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00109/0.4796, allocations: 175.2 kB / 0.7588 GB, free: 12.48 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004155/0.4801, allocations: 373.4 kB / 0.7592 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.969e-05/0.4801, allocations: 24.66 kB / 0.7592 GB, free: 12.05 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.591e-05/0.4802, allocations: 31.98 kB / 0.7592 GB, free: 12.02 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005479/0.4807, allocations: 381 kB / 0.7596 GB, free: 11.62 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.318e-05/0.4807, allocations: 0 / 0.7596 GB, free: 11.62 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.97e-05/0.4808, allocations: 19.94 kB / 0.7596 GB, free: 11.61 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.198e-05/0.4808, allocations: 15.94 kB / 0.7596 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004674/0.4813, allocations: 266 kB / 0.7599 GB, free: 11.33 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.001455/0.4827, allocations: 1.671 MB / 0.7615 GB, free: 9.52 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000341/0.4831, allocations: 206.6 kB / 0.7617 GB, free: 9.309 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000197/0.4833, allocations: 124.7 kB / 0.7618 GB, free: 9.184 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008642/0.4842, allocations: 0.8934 MB / 0.7627 GB, free: 8.105 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.152e-05/0.4842, allocations: 30.56 kB / 0.7627 GB, free: 8.066 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=23): time 1.243e-06/0.4842, allocations: 0 / 0.7627 GB, free: 8.066 MB / 0.5919 GB Notification: Performance of matching and sorting (n=23): time 0.0008105/0.485, allocations: 384.8 kB / 0.7631 GB, free: 7.684 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.591e-05/0.485, allocations: 51.41 kB / 0.7631 GB, free: 7.621 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003775/0.4854, allocations: 425.9 kB / 0.7635 GB, free: 7.199 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.242e-05/0.4855, allocations: 29.7 kB / 0.7636 GB, free: 7.164 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001247/0.4856, allocations: 212.3 kB / 0.7638 GB, free: 6.949 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 5.484e-05/0.4857, allocations: 90.73 kB / 0.7639 GB, free: 6.859 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.85e-05/0.4857, allocations: 25.72 kB / 0.7639 GB, free: 6.828 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 9.922e-05/0.4858, allocations: 350.8 kB / 0.7642 GB, free: 6.477 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001741/0.486, allocations: 83.95 kB / 0.7643 GB, free: 6.395 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001963/0.4862, allocations: 128.1 kB / 0.7644 GB, free: 6.258 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003609/0.4866, allocations: 217 kB / 0.7646 GB, free: 6.035 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.4866, allocations: 4.031 kB / 0.7646 GB, free: 6.031 MB / 0.5919 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004667/0.487, allocations: 293.7 kB / 0.7649 GB, free: 5.738 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.186e-05/0.4871, allocations: 5.875 kB / 0.7649 GB, free: 5.734 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/0.4871, allocations: 0 / 0.7649 GB, free: 5.734 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.265e-05/0.4871, allocations: 7.938 kB / 0.7649 GB, free: 5.727 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002133/0.4873, allocations: 59.94 kB / 0.765 GB, free: 5.668 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.336e-06/0.4873, allocations: 8 kB / 0.765 GB, free: 5.66 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002157/0.4875, allocations: 43.58 kB / 0.765 GB, free: 5.617 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.198e-05/0.4876, allocations: 11.98 kB / 0.765 GB, free: 5.605 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.0001331/0.4877, allocations: 163.4 kB / 0.7652 GB, free: 5.438 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.96e-05/0.4878, allocations: 43.47 kB / 0.7652 GB, free: 5.395 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00052/0.4883, allocations: 296.8 kB / 0.7655 GB, free: 5.102 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.4883, allocations: 4 kB / 0.7655 GB, free: 5.098 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.417e-06/0.4883, allocations: 4 kB / 0.7655 GB, free: 5.094 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.4883, allocations: 0 / 0.7655 GB, free: 5.094 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001046/0.4894, allocations: 0.8191 MB / 0.7663 GB, free: 4.199 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.165e-06/0.4894, allocations: 0 / 0.7663 GB, free: 4.199 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002106/0.4896, allocations: 55.91 kB / 0.7664 GB, free: 4.145 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.4896, allocations: 0 / 0.7664 GB, free: 4.145 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.752e-05/0.4896, allocations: 4 kB / 0.7664 GB, free: 4.141 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.729e-06/0.4896, allocations: 8.125 kB / 0.7664 GB, free: 4.133 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/0.4897, allocations: 11.94 kB / 0.7664 GB, free: 4.121 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006874/0.4903, allocations: 0.5154 MB / 0.7669 GB, free: 3.57 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000127/0.4905, allocations: 148.5 kB / 0.767 GB, free: 3.406 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.804e-05/0.4905, allocations: 8 kB / 0.7671 GB, free: 3.398 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002744/0.4908, allocations: 27.97 kB / 0.7671 GB, free: 3.371 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.438e-05/0.4909, allocations: 19.92 kB / 0.7671 GB, free: 3.352 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.695e-05/0.4909, allocations: 12 kB / 0.7671 GB, free: 3.34 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002584/0.4912, allocations: 299.1 kB / 0.7674 GB, free: 3.051 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4912, allocations: 4 kB / 0.7674 GB, free: 3.047 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003634/0.4915, allocations: 115.8 kB / 0.7675 GB, free: 2.934 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.001118/0.4927, allocations: 1.151 MB / 0.7686 GB, free: 1.742 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0004158/0.4931, allocations: 227.1 kB / 0.7689 GB, free: 1.523 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.4931, allocations: 4 kB / 0.7689 GB, free: 1.52 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.000201/0.4933, allocations: 112.3 kB / 0.769 GB, free: 1.41 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001077/0.4944, allocations: 220.3 kB / 0.7692 GB, free: 1.203 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004152/0.4985, allocations: 3.955 MB / 0.773 GB, free: 13.12 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002916/0.4989, allocations: 0.823 MB / 0.7738 GB, free: 12.27 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0002458/0.4991, allocations: 83.34 kB / 0.7739 GB, free: 12.18 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001641/0.4993, allocations: 139.4 kB / 0.7741 GB, free: 12.05 MB / 0.6075 GB Notification: Performance of SimCode: time 3.01e-07/0.4993, allocations: 0 / 0.7741 GB, free: 12.05 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.645/2.144, allocations: 11.36 MB / 0.7851 GB, free: 0.9609 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001967/2.144, allocations: 225.2 kB / 0.7854 GB, free: 0.707 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.82/3.964, allocations: 4 kB / 0.7854 GB, free: 0.7031 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 & /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)