Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Airflow.Multizone.Examples.Orifice,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_Orifice",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Airflow.Multizone.Examples.Orifice,fileNamePrefix="BuildingSystems_BuildingSystems_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.001068/0.001068, allocations: 107.3 kB / 15.23 MB, free: 0.6523 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.001157/0.001157, allocations: 196.8 kB / 16.14 MB, free: 6.113 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.184/1.184, allocations: 222.9 MB / 239.8 MB, free: 4.586 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001842/0.001842, allocations: 287 kB / 290.2 MB, free: 2.191 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.161/1.161, allocations: 169.2 MB / 0.4977 GB, free: 14.1 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001517/0.001517, allocations: 92.14 kB / 0.5946 GB, free: 28.28 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1737/0.1752, allocations: 86.98 MB / 0.6795 GB, free: 1.09 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.Orifice): time 0.6683/0.8436, allocations: 171.6 MB / 0.8471 GB, free: 14.72 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.005057/0.8487, allocations: 2.321 MB / 0.8493 GB, free: 13.6 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009316/0.8497, allocations: 11 kB / 0.8494 GB, free: 13.6 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0009979/0.8507, allocations: 193.3 kB / 0.8495 GB, free: 13.45 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002947/0.8537, allocations: 0.8649 MB / 0.8504 GB, free: 12.81 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002552/0.8562, allocations: 0.7496 MB / 0.8511 GB, free: 12.28 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001756/0.858, allocations: 1.35 MB / 0.8524 GB, free: 11.54 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004377/0.8585, allocations: 284.5 kB / 0.8527 GB, free: 11.36 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007371/0.8592, allocations: 421.3 kB / 0.8531 GB, free: 11.14 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003991/0.8596, allocations: 325.4 kB / 0.8534 GB, free: 10.96 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 5.267e-05/0.8597, allocations: 21.72 kB / 0.8534 GB, free: 10.96 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002312/0.862, allocations: 1.163 MB / 0.8546 GB, free: 10.28 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001701/0.8622, allocations: 144.4 kB / 0.8547 GB, free: 10.18 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002379/0.8624, allocations: 219.7 kB / 0.8549 GB, free: 10.05 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001419/0.8639, allocations: 0.9563 MB / 0.8559 GB, free: 9.473 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.8639, allocations: 0 / 0.8559 GB, free: 9.473 MB / 0.5762 GB Notification: Performance of FrontEnd: time 9.72e-07/0.8639, allocations: 0 / 0.8559 GB, free: 9.473 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.202e-05/0.8639, allocations: 0 / 0.8559 GB, free: 9.473 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.00134/0.8652, allocations: 0.8076 MB / 0.8566 GB, free: 8.789 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.617e-05/0.8653, allocations: 10.12 kB / 0.8567 GB, free: 8.789 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.119e-05/0.8654, allocations: 70.06 kB / 0.8567 GB, free: 8.723 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001234/0.8666, allocations: 183.9 kB / 0.8569 GB, free: 8.633 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005292/0.8672, allocations: 372 kB / 0.8573 GB, free: 8.301 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.27e-05/0.8672, allocations: 29.06 kB / 0.8573 GB, free: 8.285 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.955e-05/0.8673, allocations: 27.94 kB / 0.8573 GB, free: 8.277 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006044/0.8679, allocations: 364.7 kB / 0.8577 GB, free: 8.031 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.443e-05/0.8679, allocations: 3.938 kB / 0.8577 GB, free: 8.027 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.084e-05/0.8679, allocations: 16.72 kB / 0.8577 GB, free: 8.016 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.873e-05/0.868, allocations: 18.17 kB / 0.8577 GB, free: 8.008 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005067/0.8685, allocations: 260 kB / 0.8579 GB, free: 7.891 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.001801/0.8703, allocations: 1.673 MB / 0.8596 GB, free: 6.34 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004201/0.8707, allocations: 215 kB / 0.8598 GB, free: 6.227 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002083/0.8709, allocations: 110.6 kB / 0.8599 GB, free: 6.172 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001112/0.8721, allocations: 0.8731 MB / 0.8607 GB, free: 5.188 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.884e-05/0.8721, allocations: 37.56 kB / 0.8608 GB, free: 5.145 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=23): time 1.563e-06/0.8721, allocations: 0 / 0.8608 GB, free: 5.145 MB / 0.5762 GB Notification: Performance of matching and sorting (n=23): time 0.0008801/0.873, allocations: 362.3 kB / 0.8611 GB, free: 4.965 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.547e-05/0.873, allocations: 54.16 kB / 0.8612 GB, free: 4.902 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004301/0.8735, allocations: 418.3 kB / 0.8616 GB, free: 4.648 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.991e-05/0.8735, allocations: 31.48 kB / 0.8616 GB, free: 4.613 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001545/0.8737, allocations: 215.2 kB / 0.8618 GB, free: 4.422 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 6.809e-05/0.8737, allocations: 82.56 kB / 0.8619 GB, free: 4.348 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.061e-05/0.8738, allocations: 49.73 kB / 0.8619 GB, free: 4.312 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001357/0.874, allocations: 352.9 kB / 0.8623 GB, free: 3.969 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001823/0.8742, allocations: 82.41 kB / 0.8623 GB, free: 3.93 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002044/0.8744, allocations: 120.7 kB / 0.8625 GB, free: 3.855 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003898/0.8748, allocations: 215.1 kB / 0.8627 GB, free: 3.73 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.8748, allocations: 0 / 0.8627 GB, free: 3.73 MB / 0.5762 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004951/0.8753, allocations: 277.6 kB / 0.8629 GB, free: 3.586 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.471e-05/0.8753, allocations: 7.469 kB / 0.8629 GB, free: 3.586 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.8753, allocations: 3.938 kB / 0.8629 GB, free: 3.582 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.713e-05/0.8754, allocations: 2.438 kB / 0.8629 GB, free: 3.582 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000223/0.8756, allocations: 50.28 kB / 0.863 GB, free: 3.57 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.197e-06/0.8756, allocations: 1.891 kB / 0.863 GB, free: 3.57 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002532/0.8759, allocations: 55.08 kB / 0.863 GB, free: 3.531 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.775e-05/0.8759, allocations: 11.06 kB / 0.8631 GB, free: 3.527 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.0001656/0.8761, allocations: 165.4 kB / 0.8632 GB, free: 3.379 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.788e-05/0.8761, allocations: 42.28 kB / 0.8633 GB, free: 3.359 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005478/0.8767, allocations: 287.4 kB / 0.8635 GB, free: 3.191 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.8767, allocations: 2.719 kB / 0.8635 GB, free: 3.191 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.8767, allocations: 3.984 kB / 0.8635 GB, free: 3.188 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.8767, allocations: 4.031 kB / 0.8635 GB, free: 3.184 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001128/0.8779, allocations: 0.8124 MB / 0.8643 GB, free: 2.531 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.853e-06/0.8779, allocations: 11.7 kB / 0.8643 GB, free: 2.523 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002089/0.8781, allocations: 43.22 kB / 0.8644 GB, free: 2.516 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/0.8781, allocations: 2.531 kB / 0.8644 GB, free: 2.516 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.086e-05/0.8781, allocations: 9.375 kB / 0.8644 GB, free: 2.512 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.19e-06/0.8781, allocations: 6.406 kB / 0.8644 GB, free: 2.508 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.8781, allocations: 2.531 kB / 0.8644 GB, free: 2.508 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007508/0.8789, allocations: 0.5057 MB / 0.8649 GB, free: 2.148 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001523/0.8791, allocations: 144.9 kB / 0.865 GB, free: 2.008 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.892e-05/0.8791, allocations: 12.61 kB / 0.865 GB, free: 2 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002731/0.8794, allocations: 20.92 kB / 0.8651 GB, free: 1.992 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.938e-05/0.8795, allocations: 22.16 kB / 0.8651 GB, free: 1.98 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.848e-05/0.8795, allocations: 8.875 kB / 0.8651 GB, free: 1.977 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002927/0.8798, allocations: 300.2 kB / 0.8654 GB, free: 1.797 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.51e-07/0.8798, allocations: 0 / 0.8654 GB, free: 1.797 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004416/0.8803, allocations: 123.3 kB / 0.8655 GB, free: 1.77 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 (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.001311/0.8816, allocations: 1.137 MB / 0.8666 GB, free: 0.8398 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0004567/0.882, allocations: 209.5 kB / 0.8668 GB, free: 0.7539 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.8821, allocations: 2.188 kB / 0.8668 GB, free: 0.7539 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002069/0.8823, allocations: 110.6 kB / 0.8669 GB, free: 0.707 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001078/0.8834, allocations: 216.9 kB / 0.8671 GB, free: 0.6055 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004819/0.8882, allocations: 3.837 MB / 0.8709 GB, free: 13.88 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003815/0.8886, allocations: 0.8292 MB / 0.8717 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0003404/0.8889, allocations: 87.42 kB / 0.8718 GB, free: 13.07 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001814/0.8891, allocations: 140.3 kB / 0.8719 GB, free: 12.95 MB / 0.5919 GB Notification: Performance of SimCode: time 1.122e-06/0.8891, allocations: 0 / 0.8719 GB, free: 12.95 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.343/4.232, allocations: 11.54 MB / 0.8832 GB, free: 6.895 MB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003275/4.233, allocations: 240.6 kB / 0.8834 GB, free: 6.645 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.993/6.226, allocations: 0 / 0.8834 GB, free: 6.645 MB / 0.5919 GB (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.Orifice.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.Orifice.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.Orifice.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.Orifice.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_Orifice_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_Orifice.fmu > BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.Orifice.pipe 2>&1)