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.001623/0.001624, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002211/0.002211, allocations: 192 kB / 16.14 MB, free: 6.254 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.504/1.504, allocations: 222.9 MB / 239.8 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8523/0.8523, allocations: 132.2 MB / 422.1 MB, free: 1.992 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001272/0.001272, allocations: 60.38 kB / 0.5012 GB, free: 4.184 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4519/0.4532, allocations: 80.2 MB / 0.5795 GB, free: 4.527 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.Orifice): time 0.1975/0.6507, allocations: 171.6 MB / 0.747 GB, free: 5.551 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.00392/0.6547, allocations: 2.327 MB / 0.7493 GB, free: 3.219 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005383/0.6552, allocations: 11.94 kB / 0.7493 GB, free: 3.207 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0007312/0.656, allocations: 186.8 kB / 0.7495 GB, free: 3.023 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.00214/0.6582, allocations: 0.8831 MB / 0.7504 GB, free: 2.137 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001975/0.6601, allocations: 0.738 MB / 0.7511 GB, free: 1.402 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001608/0.6618, allocations: 1.344 MB / 0.7524 GB, free: 52 kB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004471/0.6622, allocations: 282.3 kB / 0.7527 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007215/0.663, allocations: 422.3 kB / 0.7531 GB, free: 15.36 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003898/0.6634, allocations: 322.7 kB / 0.7534 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 5.321e-05/0.6634, allocations: 20 kB / 0.7534 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002186/0.6656, allocations: 1.169 MB / 0.7545 GB, free: 13.85 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001738/0.6658, allocations: 151.5 kB / 0.7547 GB, free: 13.7 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0002538/0.6661, allocations: 222.9 kB / 0.7549 GB, free: 13.48 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001497/0.6676, allocations: 0.9503 MB / 0.7558 GB, free: 12.53 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.6676, allocations: 0 / 0.7558 GB, free: 12.53 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.022e-06/0.6676, allocations: 0 / 0.7558 GB, free: 12.53 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 6.913e-06/0.6676, allocations: 0 / 0.7558 GB, free: 12.53 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.001222/0.6688, allocations: 0.8137 MB / 0.7566 GB, free: 11.66 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.62e-05/0.6689, allocations: 16.02 kB / 0.7566 GB, free: 11.65 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.71e-05/0.669, allocations: 62.55 kB / 0.7567 GB, free: 11.58 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00123/0.6702, allocations: 179.2 kB / 0.7569 GB, free: 11.4 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005154/0.6707, allocations: 377.4 kB / 0.7572 GB, free: 11 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.213e-05/0.6708, allocations: 24.66 kB / 0.7573 GB, free: 10.97 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.985e-05/0.6708, allocations: 28 kB / 0.7573 GB, free: 10.95 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005799/0.6714, allocations: 373.1 kB / 0.7576 GB, free: 10.56 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.097e-05/0.6714, allocations: 7.922 kB / 0.7576 GB, free: 10.55 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.02e-05/0.6715, allocations: 16 kB / 0.7577 GB, free: 10.54 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.176e-05/0.6715, allocations: 11.94 kB / 0.7577 GB, free: 10.52 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004827/0.672, allocations: 265.9 kB / 0.7579 GB, free: 10.26 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.001717/0.6737, allocations: 1.668 MB / 0.7596 GB, free: 8.457 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003744/0.6741, allocations: 202.5 kB / 0.7597 GB, free: 8.25 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002126/0.6743, allocations: 120.8 kB / 0.7599 GB, free: 8.129 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00104/0.6754, allocations: 0.8739 MB / 0.7607 GB, free: 7.07 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.235e-05/0.6754, allocations: 34.56 kB / 0.7607 GB, free: 7.027 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=23): time 1.583e-06/0.6754, allocations: 0 / 0.7607 GB, free: 7.027 MB / 0.5919 GB Notification: Performance of matching and sorting (n=23): time 0.0008915/0.6763, allocations: 348.9 kB / 0.7611 GB, free: 6.68 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.452e-05/0.6764, allocations: 59.34 kB / 0.7611 GB, free: 6.609 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004343/0.6768, allocations: 429.9 kB / 0.7615 GB, free: 6.184 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.681e-05/0.6769, allocations: 33.7 kB / 0.7616 GB, free: 6.145 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001386/0.677, allocations: 212.2 kB / 0.7618 GB, free: 5.93 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 6.227e-05/0.6771, allocations: 82.84 kB / 0.7619 GB, free: 5.848 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.041e-05/0.6772, allocations: 53.61 kB / 0.7619 GB, free: 5.789 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001183/0.6773, allocations: 346.8 kB / 0.7622 GB, free: 5.441 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001888/0.6775, allocations: 83.94 kB / 0.7623 GB, free: 5.359 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002122/0.6777, allocations: 120.1 kB / 0.7624 GB, free: 5.23 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003845/0.6781, allocations: 208.8 kB / 0.7626 GB, free: 5.016 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.995e-06/0.6781, allocations: 0 / 0.7626 GB, free: 5.016 MB / 0.5919 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005032/0.6786, allocations: 281.8 kB / 0.7629 GB, free: 4.734 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.6786, allocations: 5.719 kB / 0.7629 GB, free: 4.73 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.268e-06/0.6786, allocations: 8 kB / 0.7629 GB, free: 4.723 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.826e-05/0.6787, allocations: 3.938 kB / 0.7629 GB, free: 4.719 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00023/0.6789, allocations: 55.91 kB / 0.763 GB, free: 4.664 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.008e-05/0.6789, allocations: 4 kB / 0.763 GB, free: 4.66 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002486/0.6792, allocations: 39.7 kB / 0.763 GB, free: 4.621 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.644e-05/0.6792, allocations: 8 kB / 0.763 GB, free: 4.613 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.0001612/0.6794, allocations: 167.4 kB / 0.7632 GB, free: 4.441 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.148e-05/0.6795, allocations: 47.38 kB / 0.7632 GB, free: 4.395 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005491/0.68, allocations: 289.1 kB / 0.7635 GB, free: 4.105 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.68, allocations: 3.938 kB / 0.7635 GB, free: 4.102 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.68, allocations: 4 kB / 0.7635 GB, free: 4.098 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.6801, allocations: 4 kB / 0.7635 GB, free: 4.094 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001176/0.6812, allocations: 0.8074 MB / 0.7643 GB, free: 3.211 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.6812, allocations: 4 kB / 0.7643 GB, free: 3.207 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002204/0.6815, allocations: 43.97 kB / 0.7643 GB, free: 3.164 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.35e-06/0.6815, allocations: 4 kB / 0.7644 GB, free: 3.16 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.924e-05/0.6815, allocations: 4 kB / 0.7644 GB, free: 3.156 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.761e-06/0.6815, allocations: 7.938 kB / 0.7644 GB, free: 3.148 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.6815, allocations: 0 / 0.7644 GB, free: 3.148 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007402/0.6823, allocations: 0.507 MB / 0.7649 GB, free: 2.609 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001468/0.6824, allocations: 156.4 kB / 0.765 GB, free: 2.438 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.725e-05/0.6825, allocations: 11.94 kB / 0.765 GB, free: 2.426 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002858/0.6828, allocations: 23.98 kB / 0.765 GB, free: 2.402 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.757e-05/0.6829, allocations: 19.91 kB / 0.7651 GB, free: 2.383 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.789e-05/0.6829, allocations: 12.19 kB / 0.7651 GB, free: 2.371 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002938/0.6832, allocations: 303.1 kB / 0.7654 GB, free: 2.078 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.91e-07/0.6832, allocations: 0 / 0.7654 GB, free: 2.078 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004543/0.6836, allocations: 115.8 kB / 0.7655 GB, free: 1.965 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.001358/0.685, allocations: 1.121 MB / 0.7666 GB, free: 0.8086 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0004829/0.6855, allocations: 211.6 kB / 0.7668 GB, free: 0.6016 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.6855, allocations: 0 / 0.7668 GB, free: 0.6016 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002187/0.6857, allocations: 115.9 kB / 0.7669 GB, free: 500 kB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001121/0.6869, allocations: 209.7 kB / 0.7671 GB, free: 296 kB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00482/0.6917, allocations: 3.852 MB / 0.7708 GB, free: 12.31 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003507/0.6921, allocations: 0.8308 MB / 0.7717 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.000357/0.6924, allocations: 83.34 kB / 0.7717 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001796/0.6926, allocations: 143.4 kB / 0.7719 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of SimCode: time 9.82e-07/0.6926, allocations: 0 / 0.7719 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02728/0.7199, allocations: 11.5 MB / 0.7831 GB, free: 15.98 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001968/0.7202, allocations: 224 kB / 0.7833 GB, free: 15.73 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.595/3.315, allocations: 4.062 kB / 0.7833 GB, free: 15.73 MB / 0.6231 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)