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.001329/0.001329, 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.00137/0.00137, allocations: 192.9 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 1.373/1.373, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.938/0.938, allocations: 135.1 MB / 425.5 MB, free: 11.89 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001455/0.001455, allocations: 68.17 kB / 0.5054 GB, free: 5.215 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1566/0.1581, allocations: 80.92 MB / 0.5845 GB, free: 4.441 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.Orifice): time 0.414/0.5722, allocations: 173.8 MB / 0.7542 GB, free: 13.79 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.004382/0.5766, allocations: 2.301 MB / 0.7564 GB, free: 11.91 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006687/0.5773, allocations: 15.75 kB / 0.7565 GB, free: 11.91 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0009046/0.5783, allocations: 236.2 kB / 0.7567 GB, free: 11.71 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002478/0.5808, allocations: 0.9315 MB / 0.7576 GB, free: 11 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002031/0.5828, allocations: 0.8165 MB / 0.7584 GB, free: 10.41 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001246/0.5841, allocations: 0.9675 MB / 0.7593 GB, free: 9.68 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005712/0.5846, allocations: 334.9 kB / 0.7596 GB, free: 9.348 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000802/0.5855, allocations: 454.3 kB / 0.7601 GB, free: 8.902 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005374/0.586, allocations: 310.7 kB / 0.7604 GB, free: 8.598 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 8.576e-05/0.5861, allocations: 36 kB / 0.7604 GB, free: 8.562 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001723/0.5878, allocations: 0.982 MB / 0.7614 GB, free: 7.578 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001753/0.588, allocations: 147.5 kB / 0.7615 GB, free: 7.434 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003071/0.5883, allocations: 242.8 kB / 0.7617 GB, free: 7.195 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001443/0.5898, allocations: 0.8999 MB / 0.7626 GB, free: 6.293 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.5898, allocations: 0 / 0.7626 GB, free: 6.293 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.413e-06/0.5898, allocations: 0 / 0.7626 GB, free: 6.293 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.339e-05/0.5898, allocations: 0 / 0.7626 GB, free: 6.293 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.001274/0.5911, allocations: 0.8099 MB / 0.7634 GB, free: 5.438 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.649e-05/0.5912, allocations: 12.03 kB / 0.7634 GB, free: 5.426 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.004e-05/0.5912, allocations: 62.53 kB / 0.7635 GB, free: 5.355 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001234/0.5925, allocations: 183.2 kB / 0.7637 GB, free: 5.176 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005202/0.593, allocations: 374 kB / 0.764 GB, free: 4.777 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.514e-05/0.593, allocations: 24.66 kB / 0.764 GB, free: 4.75 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.803e-05/0.5931, allocations: 31.94 kB / 0.7641 GB, free: 4.719 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005863/0.5937, allocations: 365.2 kB / 0.7644 GB, free: 4.34 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.249e-05/0.5937, allocations: 3.938 kB / 0.7644 GB, free: 4.336 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.969e-05/0.5938, allocations: 16 kB / 0.7644 GB, free: 4.32 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.402e-05/0.5938, allocations: 15.92 kB / 0.7645 GB, free: 4.305 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000497/0.5943, allocations: 264.3 kB / 0.7647 GB, free: 4.047 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.001742/0.5961, allocations: 1.675 MB / 0.7663 GB, free: 2.234 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003759/0.5965, allocations: 206.5 kB / 0.7665 GB, free: 2.023 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002062/0.5967, allocations: 119.4 kB / 0.7666 GB, free: 1.906 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001091/0.5978, allocations: 0.8778 MB / 0.7675 GB, free: 0.8438 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.761e-05/0.5978, allocations: 34.5 kB / 0.7675 GB, free: 0.8008 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=23): time 1.693e-06/0.5978, allocations: 0 / 0.7675 GB, free: 0.8008 MB / 0.5762 GB Notification: Performance of matching and sorting (n=23): time 0.0008989/0.5987, allocations: 359.5 kB / 0.7679 GB, free: 456 kB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.664e-05/0.5988, allocations: 55.41 kB / 0.7679 GB, free: 388 kB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004158/0.5992, allocations: 422 kB / 0.7683 GB, free: 15.96 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.733e-05/0.5992, allocations: 29.7 kB / 0.7684 GB, free: 15.93 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001327/0.5994, allocations: 216.2 kB / 0.7686 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 5.862e-05/0.5994, allocations: 78.95 kB / 0.7686 GB, free: 15.63 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.699e-05/0.5995, allocations: 57.55 kB / 0.7687 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001239/0.5996, allocations: 354.7 kB / 0.769 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001858/0.5998, allocations: 79.95 kB / 0.7691 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002102/0.6001, allocations: 128.5 kB / 0.7692 GB, free: 15 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003701/0.6004, allocations: 198.5 kB / 0.7694 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.6005, allocations: 4.031 kB / 0.7694 GB, free: 14.79 MB / 0.5919 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005327/0.601, allocations: 284.9 kB / 0.7697 GB, free: 14.51 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.668e-05/0.601, allocations: 11.98 kB / 0.7697 GB, free: 14.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.601, allocations: 0 / 0.7697 GB, free: 14.5 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.653e-05/0.6011, allocations: 4 kB / 0.7697 GB, free: 14.49 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000229/0.6013, allocations: 51.92 kB / 0.7698 GB, free: 14.44 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.105e-06/0.6013, allocations: 3.938 kB / 0.7698 GB, free: 14.44 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002162/0.6015, allocations: 38.61 kB / 0.7698 GB, free: 14.4 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.386e-05/0.6016, allocations: 12.03 kB / 0.7698 GB, free: 14.39 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.0001648/0.6017, allocations: 163.1 kB / 0.77 GB, free: 14.22 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.137e-05/0.6018, allocations: 43.44 kB / 0.77 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005611/0.6024, allocations: 284.9 kB / 0.7703 GB, free: 13.9 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.097e-06/0.6024, allocations: 4 kB / 0.7703 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.6024, allocations: 3.938 kB / 0.7703 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.027e-06/0.6024, allocations: 4 kB / 0.7703 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0012/0.6036, allocations: 0.8075 MB / 0.7711 GB, free: 13 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.048e-06/0.6036, allocations: 4 kB / 0.7711 GB, free: 13 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000222/0.6039, allocations: 51.91 kB / 0.7711 GB, free: 12.95 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.828e-06/0.6039, allocations: 0 / 0.7711 GB, free: 12.95 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.071e-05/0.6039, allocations: 4 kB / 0.7711 GB, free: 12.95 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.538e-06/0.6039, allocations: 4 kB / 0.7712 GB, free: 12.94 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.6039, allocations: 3.188 kB / 0.7712 GB, free: 12.94 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007549/0.6047, allocations: 0.5076 MB / 0.7716 GB, free: 12.4 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001414/0.6048, allocations: 140.6 kB / 0.7718 GB, free: 12.24 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.104e-05/0.6049, allocations: 15.98 kB / 0.7718 GB, free: 12.23 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002637/0.6052, allocations: 15.98 kB / 0.7718 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.889e-05/0.6052, allocations: 15.98 kB / 0.7718 GB, free: 12.2 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.846e-05/0.6053, allocations: 11.94 kB / 0.7718 GB, free: 12.18 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002834/0.6056, allocations: 307 kB / 0.7721 GB, free: 11.89 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6056, allocations: 0 / 0.7721 GB, free: 11.89 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004309/0.606, allocations: 119.8 kB / 0.7722 GB, free: 11.77 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.001255/0.6073, allocations: 1.131 MB / 0.7734 GB, free: 10.6 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.000492/0.6078, allocations: 219.8 kB / 0.7736 GB, free: 10.39 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.6078, allocations: 0 / 0.7736 GB, free: 10.39 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002117/0.608, allocations: 115.7 kB / 0.7737 GB, free: 10.27 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001136/0.6092, allocations: 231.1 kB / 0.7739 GB, free: 10.07 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004631/0.6138, allocations: 3.734 MB / 0.7775 GB, free: 6.215 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003207/0.6141, allocations: 0.8233 MB / 0.7783 GB, free: 5.363 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0003131/0.6145, allocations: 83.34 kB / 0.7784 GB, free: 5.281 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001779/0.6146, allocations: 139.4 kB / 0.7786 GB, free: 5.145 MB / 0.5919 GB Notification: Performance of SimCode: time 5.81e-07/0.6147, allocations: 0 / 0.7786 GB, free: 5.145 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02965/0.6443, allocations: 11.99 MB / 0.7903 GB, free: 9.391 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.722/8.366, allocations: 3.25 kB / 0.7903 GB, free: 9.391 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)