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.0009718/0.0009718, 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.005681/0.005681, allocations: 172.3 kB / 16.27 MB, free: 6.66 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.13/1.13, allocations: 223.3 MB / 240.3 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 8.13/8.13, allocations: 135.3 MB / 426.7 MB, free: 14.24 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000383/0.000383, allocations: 8.5 kB / 0.5077 GB, free: 4.656 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.213/0.2134, allocations: 82.31 MB / 0.5881 GB, free: 2.516 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.Orifice): time 0.7813/0.9948, allocations: 169.3 MB / 0.7534 GB, free: 0.9648 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.005199/1, allocations: 2.299 MB / 0.7557 GB, free: 15.11 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006543/1.001, allocations: 11.34 kB / 0.7557 GB, free: 15.1 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0007081/1.002, allocations: 190.1 kB / 0.7559 GB, free: 14.95 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002776/1.004, allocations: 0.8743 MB / 0.7567 GB, free: 14.29 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002639/1.007, allocations: 0.7585 MB / 0.7574 GB, free: 13.75 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002056/1.009, allocations: 1.34 MB / 0.7588 GB, free: 13.01 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005399/1.01, allocations: 276.5 kB / 0.759 GB, free: 12.84 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008691/1.01, allocations: 407.7 kB / 0.7594 GB, free: 12.64 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004764/1.011, allocations: 318.5 kB / 0.7597 GB, free: 12.46 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.732e-05/1.011, allocations: 22.86 kB / 0.7597 GB, free: 12.46 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002589/1.014, allocations: 1.163 MB / 0.7609 GB, free: 11.48 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002003/1.014, allocations: 135.5 kB / 0.761 GB, free: 11.35 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002802/1.014, allocations: 252.5 kB / 0.7612 GB, free: 11.1 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001663/1.016, allocations: 0.9385 MB / 0.7622 GB, free: 10.16 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/1.016, allocations: 0 / 0.7622 GB, free: 10.16 MB / 0.5762 GB Notification: Performance of FrontEnd: time 3.357e-06/1.016, allocations: 0 / 0.7622 GB, free: 10.16 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.904e-06/1.016, allocations: 3.938 kB / 0.7622 GB, free: 10.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.001362/1.017, allocations: 0.7361 MB / 0.7629 GB, free: 9.371 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.961e-05/1.017, allocations: 8.031 kB / 0.7629 GB, free: 9.363 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.601e-05/1.017, allocations: 66.53 kB / 0.7629 GB, free: 9.289 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001252/1.019, allocations: 183.1 kB / 0.7631 GB, free: 9.109 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005684/1.019, allocations: 365.5 kB / 0.7635 GB, free: 8.719 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.32e-05/1.019, allocations: 24.66 kB / 0.7635 GB, free: 8.695 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.995e-05/1.019, allocations: 43.84 kB / 0.7635 GB, free: 8.652 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006881/1.02, allocations: 373.1 kB / 0.7639 GB, free: 8.262 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.764e-05/1.02, allocations: 3.938 kB / 0.7639 GB, free: 8.258 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.72e-05/1.02, allocations: 23.92 kB / 0.7639 GB, free: 8.234 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.648e-05/1.02, allocations: 8 kB / 0.7639 GB, free: 8.227 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005292/1.021, allocations: 270 kB / 0.7642 GB, free: 7.961 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.002007/1.023, allocations: 1.671 MB / 0.7658 GB, free: 6.152 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004115/1.023, allocations: 212 kB / 0.766 GB, free: 5.938 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00023/1.023, allocations: 118 kB / 0.7661 GB, free: 5.82 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001168/1.025, allocations: 0.8896 MB / 0.767 GB, free: 4.746 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.873e-05/1.025, allocations: 36.88 kB / 0.767 GB, free: 4.703 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=23): time 2.715e-06/1.025, allocations: 0 / 0.767 GB, free: 4.703 MB / 0.5762 GB Notification: Performance of matching and sorting (n=23): time 0.0009461/1.026, allocations: 376.7 kB / 0.7674 GB, free: 4.332 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.201e-05/1.026, allocations: 55.41 kB / 0.7674 GB, free: 4.266 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004892/1.026, allocations: 422 kB / 0.7679 GB, free: 3.848 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.406e-05/1.026, allocations: 29.7 kB / 0.7679 GB, free: 3.812 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001753/1.026, allocations: 216.3 kB / 0.7681 GB, free: 3.598 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 7.957e-05/1.026, allocations: 86.75 kB / 0.7682 GB, free: 3.512 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.465e-05/1.026, allocations: 25.72 kB / 0.7682 GB, free: 3.48 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001701/1.027, allocations: 354.7 kB / 0.7685 GB, free: 3.125 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001944/1.027, allocations: 83.95 kB / 0.7686 GB, free: 3.043 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002272/1.027, allocations: 136.5 kB / 0.7687 GB, free: 2.898 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004065/1.027, allocations: 218.2 kB / 0.7689 GB, free: 2.676 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/1.027, allocations: 0 / 0.7689 GB, free: 2.676 MB / 0.5762 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005457/1.028, allocations: 288.9 kB / 0.7692 GB, free: 2.387 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 4.072e-05/1.028, allocations: 8 kB / 0.7692 GB, free: 2.379 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.306e-06/1.028, allocations: 4.031 kB / 0.7692 GB, free: 2.375 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.933e-05/1.028, allocations: 0 / 0.7692 GB, free: 2.375 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002462/1.028, allocations: 59.91 kB / 0.7693 GB, free: 2.316 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.254e-05/1.028, allocations: 7.938 kB / 0.7693 GB, free: 2.309 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002777/1.029, allocations: 39.67 kB / 0.7693 GB, free: 2.27 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.673e-05/1.029, allocations: 12 kB / 0.7694 GB, free: 2.258 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.00019/1.029, allocations: 165.8 kB / 0.7695 GB, free: 2.086 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.222e-05/1.029, allocations: 47.48 kB / 0.7696 GB, free: 2.039 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005954/1.03, allocations: 300.4 kB / 0.7698 GB, free: 1.742 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.484e-06/1.03, allocations: 2.875 kB / 0.7698 GB, free: 1.742 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.324e-06/1.03, allocations: 3.938 kB / 0.7698 GB, free: 1.738 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.97e-06/1.03, allocations: 0 / 0.7698 GB, free: 1.738 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001261/1.031, allocations: 0.8269 MB / 0.7707 GB, free: 0.8359 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/1.031, allocations: 0 / 0.7707 GB, free: 0.8359 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000222/1.031, allocations: 51.91 kB / 0.7707 GB, free: 0.7852 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.716e-06/1.031, allocations: 4.188 kB / 0.7707 GB, free: 0.7812 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.17e-05/1.031, allocations: 12 kB / 0.7707 GB, free: 0.7695 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.559e-06/1.031, allocations: 4 kB / 0.7707 GB, free: 0.7656 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/1.031, allocations: 0 / 0.7707 GB, free: 0.7656 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000818/1.032, allocations: 0.5134 MB / 0.7712 GB, free: 224 kB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001831/1.032, allocations: 156.5 kB / 0.7714 GB, free: 48 kB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.233e-05/1.032, allocations: 4 kB / 0.7714 GB, free: 44 kB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002874/1.033, allocations: 23.98 kB / 0.7714 GB, free: 20 kB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.96e-05/1.033, allocations: 20.17 kB / 0.7714 GB, free: 16 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.887e-05/1.033, allocations: 15.94 kB / 0.7714 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003203/1.033, allocations: 303.1 kB / 0.7717 GB, free: 15.68 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.2e-07/1.033, allocations: 0 / 0.7717 GB, free: 15.68 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004773/1.034, allocations: 119.8 kB / 0.7718 GB, free: 15.57 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.00148/1.035, allocations: 1.135 MB / 0.7729 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0005011/1.036, allocations: 224.3 kB / 0.7732 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 5.811e-06/1.036, allocations: 4 kB / 0.7732 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002345/1.036, allocations: 120.2 kB / 0.7733 GB, free: 14.06 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001274/1.037, allocations: 211.3 kB / 0.7735 GB, free: 13.86 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005561/1.043, allocations: 3.951 MB / 0.7773 GB, free: 9.805 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005071/1.043, allocations: 0.8269 MB / 0.7781 GB, free: 8.949 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0003567/1.044, allocations: 89.7 kB / 0.7782 GB, free: 8.859 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002079/1.044, allocations: 135.4 kB / 0.7784 GB, free: 8.727 MB / 0.5919 GB Notification: Performance of SimCode: time 2.936e-06/1.044, allocations: 0 / 0.7784 GB, free: 8.727 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02776/1.072, allocations: 11.37 MB / 0.7895 GB, free: 13.62 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002125/1.072, allocations: 223.7 kB / 0.7897 GB, free: 13.36 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.32/3.391, allocations: 7.938 kB / 0.7897 GB, free: 13.36 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)