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.477/1.477, allocations: 249.3 MB / 261.8 MB, free: 5.902 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001486/0.001486, allocations: 190.1 kB / 321.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.855/1.855, allocations: 205.2 MB / 0.572 GB, free: 10.68 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.001214/0.001214, allocations: 82.53 kB / 0.6764 GB, free: 15.65 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.212e-05/4.214e-05, allocations: 4 kB / 0.788 GB, free: 97 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2534/0.2534, allocations: 106.3 MB / 0.8919 GB, free: 6.57 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.349/6.603, allocations: 2.183 GB / 3.075 GB, free: 146.4 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002665/6.603, allocations: 89 kB / 3.075 GB, free: 146.4 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 1.212/7.816, allocations: 343.3 MB / 3.41 GB, free: 148.8 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.182e-06/7.816, allocations: 0 / 3.41 GB, free: 148.8 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 3.455e-05/7.816, allocations: 11.94 kB / 3.41 GB, free: 148.8 MB / 0.8698 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.001219/7.817, allocations: 0.7672 MB / 3.411 GB, free: 148 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.893e-05/7.817, allocations: 8.031 kB / 3.411 GB, free: 148 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.562e-05/7.817, allocations: 70.53 kB / 3.411 GB, free: 147.9 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001188/7.818, allocations: 175.2 kB / 3.411 GB, free: 147.7 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005222/7.819, allocations: 384.8 kB / 3.411 GB, free: 147.3 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.016e-05/7.819, allocations: 24.78 kB / 3.411 GB, free: 147.3 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.879e-05/7.819, allocations: 32 kB / 3.411 GB, free: 147.3 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004709/7.819, allocations: 351.6 kB / 3.412 GB, free: 146.9 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.786e-05/7.819, allocations: 0 / 3.412 GB, free: 146.9 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.519e-05/7.819, allocations: 16 kB / 3.412 GB, free: 146.9 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.047e-05/7.819, allocations: 8 kB / 3.412 GB, free: 146.9 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003025/7.82, allocations: 222.1 kB / 3.412 GB, free: 146.6 MB / 0.8698 GB Warning: The model contains alias variables with conflicting start and/or 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.001476/7.821, allocations: 1.769 MB / 3.414 GB, free: 144.7 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002428/7.821, allocations: 170.6 kB / 3.414 GB, free: 144.6 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001124/7.822, allocations: 88.83 kB / 3.414 GB, free: 144.5 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007059/7.822, allocations: 0.874 MB / 3.415 GB, free: 143.4 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.023e-05/7.822, allocations: 34.56 kB / 3.415 GB, free: 143.4 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=23): time 1.943e-06/7.822, allocations: 4 kB / 3.415 GB, free: 143.4 MB / 0.8698 GB Notification: Performance of matching and sorting (n=23): time 0.0004988/7.823, allocations: 238 kB / 3.415 GB, free: 143.1 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.259e-05/7.823, allocations: 51.41 kB / 3.415 GB, free: 143.1 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003113/7.823, allocations: 375.2 kB / 3.416 GB, free: 142.7 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.29e-05/7.823, allocations: 33.81 kB / 3.416 GB, free: 142.6 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 9.739e-05/7.823, allocations: 216.3 kB / 3.416 GB, free: 142.4 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 4.878e-05/7.823, allocations: 86.75 kB / 3.416 GB, free: 142.3 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.036e-05/7.823, allocations: 4 kB / 3.416 GB, free: 142.3 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 6.575e-05/7.823, allocations: 346.8 kB / 3.416 GB, free: 142 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.694e-05/7.824, allocations: 64.45 kB / 3.416 GB, free: 141.9 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000123/7.824, allocations: 119.9 kB / 3.416 GB, free: 141.8 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001142/7.824, allocations: 76.84 kB / 3.416 GB, free: 141.7 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/7.824, allocations: 0 / 3.416 GB, free: 141.7 MB / 0.8698 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003076/7.824, allocations: 250.7 kB / 3.417 GB, free: 141.5 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.719e-05/7.824, allocations: 5.719 kB / 3.417 GB, free: 141.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/7.824, allocations: 0 / 3.417 GB, free: 141.5 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.379e-05/7.824, allocations: 4 kB / 3.417 GB, free: 141.5 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002274/7.824, allocations: 63.94 kB / 3.417 GB, free: 141.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.306e-06/7.824, allocations: 0 / 3.417 GB, free: 141.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003001/7.825, allocations: 43.67 kB / 3.417 GB, free: 141.4 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.136e-05/7.825, allocations: 11.95 kB / 3.417 GB, free: 141.3 MB / 0.8698 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 () * 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 8.056e-05/7.825, allocations: 120.9 kB / 3.417 GB, free: 141.2 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.08e-05/7.825, allocations: 43.44 kB / 3.417 GB, free: 141.2 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005154/7.825, allocations: 253.2 kB / 3.417 GB, free: 140.9 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/7.825, allocations: 7.938 kB / 3.417 GB, free: 140.9 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/7.825, allocations: 0 / 3.417 GB, free: 140.9 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/7.826, allocations: 0 / 3.417 GB, free: 140.9 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008533/7.826, allocations: 0.7723 MB / 3.418 GB, free: 140.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/7.826, allocations: 4.141 kB / 3.418 GB, free: 140.1 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002151/7.827, allocations: 47.91 kB / 3.418 GB, free: 140 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.949e-06/7.827, allocations: 7.984 kB / 3.418 GB, free: 140 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.973e-05/7.827, allocations: 11.95 kB / 3.418 GB, free: 140 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/7.827, allocations: 8.188 kB / 3.418 GB, free: 140 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/7.827, allocations: 3.938 kB / 3.418 GB, free: 140 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004749/7.827, allocations: 0.5141 MB / 3.419 GB, free: 139.4 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001489/7.827, allocations: 148.5 kB / 3.419 GB, free: 139.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.245e-05/7.827, allocations: 7.953 kB / 3.419 GB, free: 139.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000282/7.828, allocations: 31.97 kB / 3.419 GB, free: 139.2 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.544e-05/7.828, allocations: 23.91 kB / 3.419 GB, free: 139.2 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.747e-05/7.828, allocations: 8 kB / 3.419 GB, free: 139.2 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.000243/7.828, allocations: 293.2 kB / 3.419 GB, free: 138.9 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.5e-07/7.828, allocations: 7.938 kB / 3.419 GB, free: 138.9 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0008061/7.829, allocations: 223.9 kB / 3.419 GB, free: 138.7 MB / 0.8698 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 () * 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.002402/7.831, allocations: 2.59 MB / 3.422 GB, free: 136 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0004444/7.832, allocations: 183.7 kB / 3.422 GB, free: 135.8 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 5.169e-06/7.832, allocations: 0 / 3.422 GB, free: 135.8 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001482/7.832, allocations: 100.8 kB / 3.422 GB, free: 135.7 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001286/7.833, allocations: 209.8 kB / 3.422 GB, free: 135.5 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002192/7.835, allocations: 0.7962 MB / 3.423 GB, free: 134.6 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003547/7.836, allocations: 0.8391 MB / 3.424 GB, free: 133.8 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0003733/7.836, allocations: 79.36 kB / 3.424 GB, free: 133.7 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002008/7.836, allocations: 139.4 kB / 3.424 GB, free: 133.6 MB / 0.8698 GB Notification: Performance of SimCode: time 2.305e-06/7.836, allocations: 0 / 3.424 GB, free: 133.6 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05125/7.888, allocations: 33.04 MB / 3.456 GB, free: 100.6 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001598/7.888, allocations: 197.5 kB / 3.456 GB, free: 100.4 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.251/11.14, allocations: 0 / 3.456 GB, free: 100.4 MB / 0.8698 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)