Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.Orifice.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.Orifice,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Airflow_Multizone_Examples_Orifice",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.Orifice,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Airflow_Multizone_Examples_Orifice",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.446/1.446, allocations: 251.9 MB / 266.9 MB, free: 10.86 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001222/0.001222, allocations: 188.7 kB / 326.5 MB, free: 2.207 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.129/2.129, allocations: 205.4 MB / 0.5775 GB, free: 20.47 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001192/0.001193, allocations: 84.06 kB / 0.6821 GB, free: 13.32 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003588/0.0003588, allocations: 12.81 kB / 0.7963 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2689/0.2692, allocations: 106.3 MB / 0.9001 GB, free: 64.2 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.394/5.663, allocations: 2.183 GB / 3.083 GB, free: 248 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002414/5.663, allocations: 86.53 kB / 3.083 GB, free: 248 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 1.16/6.823, allocations: 343.6 MB / 3.419 GB, free: 235.1 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.883e-06/6.823, allocations: 3 kB / 3.419 GB, free: 235.1 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 4.436e-05/6.823, allocations: 14.34 kB / 3.419 GB, free: 235.1 MB / 0.8855 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.002035/6.825, allocations: 0.8455 MB / 3.42 GB, free: 234.7 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.687e-05/6.825, allocations: 12.83 kB / 3.42 GB, free: 234.7 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001053/6.825, allocations: 68.17 kB / 3.42 GB, free: 234.6 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001348/6.827, allocations: 166.8 kB / 3.42 GB, free: 234.6 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007396/6.827, allocations: 385.5 kB / 3.42 GB, free: 234.4 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.062e-05/6.827, allocations: 26.38 kB / 3.42 GB, free: 234.4 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.575e-05/6.827, allocations: 33.52 kB / 3.42 GB, free: 234.4 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006982/6.828, allocations: 372.2 kB / 3.421 GB, free: 234.3 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.032e-05/6.828, allocations: 4.812 kB / 3.421 GB, free: 234.3 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.352e-05/6.828, allocations: 9.844 kB / 3.421 GB, free: 234.3 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.147e-05/6.828, allocations: 8.625 kB / 3.421 GB, free: 234.3 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005346/6.829, allocations: 262.8 kB / 3.421 GB, free: 234.3 MB / 0.8855 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.002057/6.831, allocations: 1.772 MB / 3.423 GB, free: 233.1 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003553/6.831, allocations: 192.5 kB / 3.423 GB, free: 233.1 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007701/6.832, allocations: 0.8672 MB / 3.424 GB, free: 232.1 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.678e-05/6.832, allocations: 37.02 kB / 3.424 GB, free: 232.1 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=23): time 3.266e-06/6.832, allocations: 0 / 3.424 GB, free: 232.1 MB / 0.8855 GB Notification: Performance of matching and sorting (n=23): time 0.0009513/6.833, allocations: 361.2 kB / 3.424 GB, free: 232 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.013e-05/6.833, allocations: 55.28 kB / 3.424 GB, free: 232 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004803/6.834, allocations: 369.4 kB / 3.424 GB, free: 231.9 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 2.905e-05/6.834, allocations: 36.08 kB / 3.424 GB, free: 231.9 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001317/6.834, allocations: 212 kB / 3.425 GB, free: 231.8 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 6.176e-05/6.834, allocations: 81.77 kB / 3.425 GB, free: 231.7 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.021e-05/6.834, allocations: 2.875 kB / 3.425 GB, free: 231.7 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 9.259e-05/6.834, allocations: 350.1 kB / 3.425 GB, free: 231.4 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001777/6.834, allocations: 82.22 kB / 3.425 GB, free: 231.4 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002111/6.834, allocations: 133.4 kB / 3.425 GB, free: 231.3 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001963/6.834, allocations: 98.81 kB / 3.425 GB, free: 231.3 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/6.835, allocations: 3.75 kB / 3.425 GB, free: 231.3 MB / 0.8855 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005982/6.835, allocations: 293.4 kB / 3.426 GB, free: 231.3 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.08e-05/6.835, allocations: 5.547 kB / 3.426 GB, free: 231.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/6.835, allocations: 1.031 kB / 3.426 GB, free: 231.3 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.869e-05/6.835, allocations: 3.156 kB / 3.426 GB, free: 231.3 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002744/6.835, allocations: 55.28 kB / 3.426 GB, free: 231.3 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.021e-05/6.835, allocations: 7.031 kB / 3.426 GB, free: 231.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003249/6.836, allocations: 50.42 kB / 3.426 GB, free: 231.3 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.966e-05/6.836, allocations: 12.5 kB / 3.426 GB, free: 231.3 MB / 0.8855 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.0001744/6.836, allocations: 163.3 kB / 3.426 GB, free: 231.2 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.977e-05/6.836, allocations: 39.81 kB / 3.426 GB, free: 231.1 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006696/6.837, allocations: 291.8 kB / 3.426 GB, free: 231.1 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.652e-06/6.837, allocations: 5.156 kB / 3.426 GB, free: 231.1 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/6.837, allocations: 0.6562 kB / 3.426 GB, free: 231.1 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.582e-06/6.837, allocations: 5.891 kB / 3.426 GB, free: 231.1 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001365/6.838, allocations: 0.7958 MB / 3.427 GB, free: 230.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.953e-06/6.838, allocations: 4.828 kB / 3.427 GB, free: 230.7 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002528/6.838, allocations: 51.08 kB / 3.427 GB, free: 230.7 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.173e-06/6.839, allocations: 4.484 kB / 3.427 GB, free: 230.7 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.344e-05/6.839, allocations: 10.08 kB / 3.427 GB, free: 230.7 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.739e-06/6.839, allocations: 5.031 kB / 3.427 GB, free: 230.7 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.057e-06/6.839, allocations: 2.719 kB / 3.427 GB, free: 230.7 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009157/6.839, allocations: 0.5765 MB / 3.428 GB, free: 230.4 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001737/6.84, allocations: 146.5 kB / 3.428 GB, free: 230.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.659e-05/6.84, allocations: 10.14 kB / 3.428 GB, free: 230.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003204/6.84, allocations: 25.17 kB / 3.428 GB, free: 230.3 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.809e-05/6.84, allocations: 22.23 kB / 3.428 GB, free: 230.3 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.254e-05/6.84, allocations: 8.625 kB / 3.428 GB, free: 230.3 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0003903/6.841, allocations: 298.8 kB / 3.428 GB, free: 230.2 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.3e-07/6.841, allocations: 0 / 3.428 GB, free: 230.2 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.001004/6.842, allocations: 236 kB / 3.428 GB, free: 230.2 MB / 0.8855 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.003057/6.845, allocations: 2.64 MB / 3.431 GB, free: 228.8 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0005673/6.845, allocations: 210 kB / 3.431 GB, free: 228.8 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/6.845, allocations: 3.312 kB / 3.431 GB, free: 228.8 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0002475/6.845, allocations: 118 kB / 3.431 GB, free: 228.8 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001055/6.847, allocations: 214.1 kB / 3.431 GB, free: 228.8 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004131/6.851, allocations: 2.973 MB / 3.434 GB, free: 227.5 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003036/6.851, allocations: 0.8343 MB / 3.435 GB, free: 226.8 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0004306/6.851, allocations: 85.91 kB / 3.435 GB, free: 226.8 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001854/6.852, allocations: 137.6 kB / 3.435 GB, free: 226.8 MB / 0.8855 GB Notification: Performance of SimCode: time 4.21e-07/6.852, allocations: 1.344 kB / 3.435 GB, free: 226.8 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05503/6.907, allocations: 29.82 MB / 3.465 GB, free: 226.5 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001551/6.907, allocations: 224 kB / 3.465 GB, free: 226.2 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.926/9.833, allocations: 3.828 kB / 3.465 GB, free: 226.2 MB / 0.8855 GB (rm -f Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.Orifice.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.Orifice.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.Orifice.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.Orifice.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Airflow_Multizone_Examples_Orifice_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Airflow_Multizone_Examples_Orifice.fmu > Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.Orifice.pipe 2>&1)