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.001107/0.001107, allocations: 86.88 kB / 15.06 MB, free: 1.09 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.001334/0.001334, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.298/1.298, allocations: 223.3 MB / 240 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7347/0.7347, allocations: 132.3 MB / 423.4 MB, free: 2.066 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003188/0.0003188, allocations: 8 kB / 0.5035 GB, free: 4.152 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4141/0.4145, allocations: 81.58 MB / 0.5832 GB, free: 3.988 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.Orifice): time 0.1662/0.5807, allocations: 158 MB / 0.7374 GB, free: 2.137 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.003317/0.584, allocations: 2.163 MB / 0.7396 GB, free: 15.97 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003447/0.5844, allocations: 15.88 kB / 0.7396 GB, free: 15.95 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0005732/0.585, allocations: 154.9 kB / 0.7397 GB, free: 15.8 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001593/0.5866, allocations: 0.688 MB / 0.7404 GB, free: 15.11 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.00159/0.5882, allocations: 0.5946 MB / 0.741 GB, free: 14.52 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001243/0.5895, allocations: 1.141 MB / 0.7421 GB, free: 13.37 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003845/0.5899, allocations: 257.4 kB / 0.7423 GB, free: 13.11 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006159/0.5905, allocations: 414.4 kB / 0.7427 GB, free: 12.7 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003496/0.5909, allocations: 302.8 kB / 0.743 GB, free: 12.41 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.702e-05/0.5909, allocations: 23.94 kB / 0.743 GB, free: 12.38 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00114/0.5921, allocations: 0.5339 MB / 0.7436 GB, free: 11.85 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001356/0.5922, allocations: 135.6 kB / 0.7437 GB, free: 11.71 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001011/0.5923, allocations: 105.5 kB / 0.7438 GB, free: 11.61 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0006147/0.5929, allocations: 0.5574 MB / 0.7443 GB, free: 11.05 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.5929, allocations: 0 / 0.7443 GB, free: 11.05 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.453e-06/0.593, allocations: 0 / 0.7443 GB, free: 11.05 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.951e-06/0.593, allocations: 0 / 0.7443 GB, free: 11.05 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.001004/0.594, allocations: 0.7321 MB / 0.745 GB, free: 10.27 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.724e-05/0.594, allocations: 8.031 kB / 0.7451 GB, free: 10.26 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.609e-05/0.5941, allocations: 74.52 kB / 0.7451 GB, free: 10.18 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001113/0.5952, allocations: 175.3 kB / 0.7453 GB, free: 10 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004759/0.5957, allocations: 365.8 kB / 0.7456 GB, free: 9.609 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.192e-05/0.5957, allocations: 20.66 kB / 0.7457 GB, free: 9.59 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.433e-05/0.5958, allocations: 35.95 kB / 0.7457 GB, free: 9.555 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005749/0.5964, allocations: 369.1 kB / 0.746 GB, free: 9.172 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.646e-05/0.5964, allocations: 4 kB / 0.7461 GB, free: 9.168 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.845e-05/0.5964, allocations: 8 kB / 0.7461 GB, free: 9.16 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.619e-05/0.5965, allocations: 23.92 kB / 0.7461 GB, free: 9.137 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004692/0.597, allocations: 266 kB / 0.7463 GB, free: 8.875 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.001593/0.5986, allocations: 1.679 MB / 0.748 GB, free: 7.062 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003595/0.5989, allocations: 202.5 kB / 0.7482 GB, free: 6.855 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002038/0.5991, allocations: 120.8 kB / 0.7483 GB, free: 6.734 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009307/0.6001, allocations: 0.8895 MB / 0.7492 GB, free: 5.66 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.972e-05/0.6001, allocations: 38.56 kB / 0.7492 GB, free: 5.613 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=23): time 1.493e-06/0.6001, allocations: 0 / 0.7492 GB, free: 5.613 MB / 0.5762 GB Notification: Performance of matching and sorting (n=23): time 0.0008417/0.601, allocations: 368.6 kB / 0.7495 GB, free: 5.25 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.269e-05/0.601, allocations: 59.34 kB / 0.7496 GB, free: 5.18 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004176/0.6014, allocations: 421.9 kB / 0.75 GB, free: 4.762 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.53e-05/0.6015, allocations: 29.7 kB / 0.75 GB, free: 4.727 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.00015/0.6016, allocations: 216.2 kB / 0.7502 GB, free: 4.508 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 5.974e-05/0.6017, allocations: 82.75 kB / 0.7503 GB, free: 4.426 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.026e-05/0.6017, allocations: 0 / 0.7503 GB, free: 4.426 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001272/0.6018, allocations: 358.8 kB / 0.7507 GB, free: 4.066 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000174/0.602, allocations: 83.94 kB / 0.7507 GB, free: 3.984 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001985/0.6022, allocations: 124.1 kB / 0.7509 GB, free: 3.852 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001906/0.6024, allocations: 103.9 kB / 0.751 GB, free: 3.75 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.6024, allocations: 0 / 0.751 GB, free: 3.75 MB / 0.5762 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004828/0.6029, allocations: 294.8 kB / 0.7512 GB, free: 3.457 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.761e-05/0.603, allocations: 4 kB / 0.7512 GB, free: 3.453 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.132e-06/0.603, allocations: 0 / 0.7512 GB, free: 3.453 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.59e-05/0.603, allocations: 4 kB / 0.7512 GB, free: 3.449 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002215/0.6032, allocations: 52 kB / 0.7513 GB, free: 3.398 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.028e-05/0.6032, allocations: 7.938 kB / 0.7513 GB, free: 3.391 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002358/0.6035, allocations: 39.67 kB / 0.7513 GB, free: 3.352 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.846e-05/0.6035, allocations: 12.11 kB / 0.7513 GB, free: 3.34 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001615/0.6037, allocations: 175.2 kB / 0.7515 GB, free: 3.16 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.232e-05/0.6038, allocations: 39.53 kB / 0.7516 GB, free: 3.121 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005507/0.6043, allocations: 297 kB / 0.7518 GB, free: 2.824 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.6043, allocations: 0 / 0.7518 GB, free: 2.824 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.6043, allocations: 8 kB / 0.7518 GB, free: 2.816 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.6043, allocations: 4 kB / 0.7518 GB, free: 2.812 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001146/0.6055, allocations: 0.8153 MB / 0.7526 GB, free: 1.922 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.539e-06/0.6055, allocations: 4 kB / 0.7526 GB, free: 1.918 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002206/0.6057, allocations: 51.89 kB / 0.7527 GB, free: 1.867 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.141e-06/0.6058, allocations: 4 kB / 0.7527 GB, free: 1.863 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.008e-05/0.6058, allocations: 8 kB / 0.7527 GB, free: 1.855 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.937e-06/0.6058, allocations: 8.188 kB / 0.7527 GB, free: 1.848 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.6058, allocations: 3.953 kB / 0.7527 GB, free: 1.844 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007089/0.6065, allocations: 0.5154 MB / 0.7532 GB, free: 1.293 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001433/0.6067, allocations: 148.5 kB / 0.7534 GB, free: 1.129 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.702e-05/0.6067, allocations: 8 kB / 0.7534 GB, free: 1.121 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002606/0.607, allocations: 23.98 kB / 0.7534 GB, free: 1.098 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.597e-05/0.6071, allocations: 23.92 kB / 0.7534 GB, free: 1.074 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.882e-05/0.6071, allocations: 12 kB / 0.7534 GB, free: 1.062 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002962/0.6074, allocations: 299.1 kB / 0.7537 GB, free: 0.7734 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6074, allocations: 0 / 0.7537 GB, free: 0.7734 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004391/0.6078, allocations: 115.8 kB / 0.7538 GB, free: 0.6602 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00129/0.6091, allocations: 1.158 MB / 0.755 GB, free: 15.47 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0004579/0.6096, allocations: 215.7 kB / 0.7552 GB, free: 15.26 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.6096, allocations: 3.938 kB / 0.7552 GB, free: 15.26 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.000214/0.6098, allocations: 116.3 kB / 0.7553 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001032/0.6109, allocations: 221 kB / 0.7555 GB, free: 14.94 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003817/0.6147, allocations: 2.537 MB / 0.758 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003732/0.6151, allocations: 0.8275 MB / 0.7588 GB, free: 11.47 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0003161/0.6154, allocations: 87.34 kB / 0.7589 GB, free: 11.38 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001914/0.6156, allocations: 139.4 kB / 0.759 GB, free: 11.25 MB / 0.5919 GB Notification: Performance of SimCode: time 2.6e-07/0.6156, allocations: 0 / 0.759 GB, free: 11.25 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02478/0.6404, allocations: 11.4 MB / 0.7701 GB, free: 136 kB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001978/0.6406, allocations: 209.6 kB / 0.7703 GB, free: 15.89 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.017/2.658, allocations: 0 / 0.7703 GB, free: 15.89 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/linux/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) Environment - environmentSimulation: