Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.Orifice.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.Orifice,fileNamePrefix="Buildings_8_0_0_Buildings_Airflow_Multizone_Examples_Orifice",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.Orifice,fileNamePrefix="Buildings_8_0_0_Buildings_Airflow_Multizone_Examples_Orifice",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.609/2.609, allocations: 287.5 MB / 302.4 MB, free: 8.211 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001315/0.001315, allocations: 174.1 kB / 371 MB, free: 10.87 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.043/2.043, allocations: 205.4 MB / 0.6297 GB, free: 10.56 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009788/0.0009784, allocations: 93.27 kB / 0.743 GB, free: 6.539 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005415/0.0005417, allocations: 15.34 kB / 0.8659 GB, free: 140.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2247/0.2253, allocations: 115.3 MB / 0.9784 GB, free: 28.28 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.Orifice): time 0.8827/1.108, allocations: 158 MB / 1.133 GB, free: 280 kB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.005122/1.113, allocations: 2.158 MB / 1.135 GB, free: 15.62 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008341/1.114, allocations: 11.97 kB / 1.135 GB, free: 15.61 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0009019/1.115, allocations: 158.6 kB / 1.135 GB, free: 15.55 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.002912/1.118, allocations: 0.6624 MB / 1.136 GB, free: 15.25 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.003023/1.121, allocations: 0.6293 MB / 1.136 GB, free: 15.07 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.002225/1.123, allocations: 1.14 MB / 1.137 GB, free: 14.87 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007291/1.124, allocations: 247.8 kB / 1.138 GB, free: 14.83 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001244/1.125, allocations: 411.2 kB / 1.138 GB, free: 14.73 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000633/1.126, allocations: 311.4 kB / 1.138 GB, free: 14.64 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 8.35e-05/1.126, allocations: 18.75 kB / 1.138 GB, free: 14.64 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002269/1.128, allocations: 0.5307 MB / 1.139 GB, free: 14.56 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0002938/1.129, allocations: 139.3 kB / 1.139 GB, free: 14.54 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.000231/1.129, allocations: 105.5 kB / 1.139 GB, free: 14.5 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001626/1.131, allocations: 0.5552 MB / 1.14 GB, free: 14.41 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/1.131, allocations: 0 / 1.14 GB, free: 14.41 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.244e-06/1.131, allocations: 0 / 1.14 GB, free: 14.41 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.11e-05/1.131, allocations: 0 / 1.14 GB, free: 14.41 MB / 0.698 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.001741/1.133, allocations: 0.7361 MB / 1.14 GB, free: 13.86 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.927e-05/1.133, allocations: 11.69 kB / 1.14 GB, free: 13.86 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001218/1.133, allocations: 64.8 kB / 1.14 GB, free: 13.82 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001759/1.134, allocations: 181.1 kB / 1.141 GB, free: 13.79 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009067/1.135, allocations: 363.6 kB / 1.141 GB, free: 13.54 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.127e-05/1.135, allocations: 23.56 kB / 1.141 GB, free: 13.54 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.32e-05/1.136, allocations: 34.22 kB / 1.141 GB, free: 13.53 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009676/1.137, allocations: 380.3 kB / 1.141 GB, free: 13.42 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.202e-05/1.137, allocations: 0 / 1.141 GB, free: 13.42 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.504e-05/1.137, allocations: 12.06 kB / 1.141 GB, free: 13.42 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.127e-05/1.137, allocations: 7.969 kB / 1.141 GB, free: 13.42 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008192/1.138, allocations: 272.5 kB / 1.142 GB, free: 13.41 MB / 0.698 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.002949/1.14, allocations: 1.672 MB / 1.143 GB, free: 12.23 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006222/1.141, allocations: 207 kB / 1.143 GB, free: 12.21 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003667/1.142, allocations: 123 kB / 1.144 GB, free: 12.2 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00162/1.143, allocations: 0.8905 MB / 1.144 GB, free: 11.25 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.28e-05/1.143, allocations: 36.59 kB / 1.144 GB, free: 11.21 MB / 0.698 GB Notification: Performance of pre-optimization done (n=23): time 2.545e-06/1.143, allocations: 0 / 1.144 GB, free: 11.21 MB / 0.698 GB Notification: Performance of matching and sorting (n=23): time 0.001567/1.145, allocations: 380.1 kB / 1.145 GB, free: 11.14 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.096e-05/1.145, allocations: 53.66 kB / 1.145 GB, free: 11.07 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00071/1.146, allocations: 416.5 kB / 1.145 GB, free: 10.96 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 5.454e-05/1.146, allocations: 33.23 kB / 1.145 GB, free: 10.93 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002189/1.146, allocations: 213.9 kB / 1.145 GB, free: 10.82 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001211/1.146, allocations: 82.55 kB / 1.146 GB, free: 10.77 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.753e-05/1.146, allocations: 4.438 kB / 1.146 GB, free: 10.77 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001744/1.146, allocations: 354.5 kB / 1.146 GB, free: 10.45 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003465/1.147, allocations: 86.55 kB / 1.146 GB, free: 10.45 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003727/1.147, allocations: 125.7 kB / 1.146 GB, free: 10.42 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003531/1.147, allocations: 102.7 kB / 1.146 GB, free: 10.41 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.92e-06/1.147, allocations: 1.594 kB / 1.146 GB, free: 10.41 MB / 0.698 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0009779/1.148, allocations: 288.7 kB / 1.146 GB, free: 10.35 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.529e-05/1.148, allocations: 7.656 kB / 1.146 GB, free: 10.35 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.968e-06/1.148, allocations: 3.062 kB / 1.146 GB, free: 10.35 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.158e-05/1.149, allocations: 2.5 kB / 1.146 GB, free: 10.35 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000442/1.149, allocations: 53.03 kB / 1.147 GB, free: 10.34 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.05e-05/1.149, allocations: 2.719 kB / 1.147 GB, free: 10.34 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000482/1.149, allocations: 47.5 kB / 1.147 GB, free: 10.32 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.07e-05/1.15, allocations: 10.31 kB / 1.147 GB, free: 10.32 MB / 0.698 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.0003191/1.15, allocations: 169.1 kB / 1.147 GB, free: 10.2 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001173/1.15, allocations: 39.81 kB / 1.147 GB, free: 10.18 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009467/1.151, allocations: 295.4 kB / 1.147 GB, free: 10.13 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.452e-06/1.151, allocations: 2.625 kB / 1.147 GB, free: 10.13 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/1.151, allocations: 0 / 1.147 GB, free: 10.13 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.843e-06/1.151, allocations: 2.531 kB / 1.147 GB, free: 10.13 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002019/1.153, allocations: 0.8253 MB / 1.148 GB, free: 9.699 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.005e-06/1.153, allocations: 2.031 kB / 1.148 GB, free: 9.699 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004431/1.154, allocations: 53.75 kB / 1.148 GB, free: 9.684 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.158e-05/1.154, allocations: 2.594 kB / 1.148 GB, free: 9.684 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.021e-05/1.154, allocations: 9.594 kB / 1.148 GB, free: 9.684 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.482e-06/1.154, allocations: 1.344 kB / 1.148 GB, free: 9.684 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.384e-06/1.154, allocations: 6.328 kB / 1.148 GB, free: 9.68 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001384/1.155, allocations: 0.5269 MB / 1.148 GB, free: 9.41 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003127/1.155, allocations: 142.3 kB / 1.149 GB, free: 9.285 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.431e-05/1.155, allocations: 11.45 kB / 1.149 GB, free: 9.281 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004978/1.156, allocations: 20.8 kB / 1.149 GB, free: 9.277 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.369e-05/1.156, allocations: 31.27 kB / 1.149 GB, free: 9.258 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.252e-05/1.156, allocations: 10.88 kB / 1.149 GB, free: 9.258 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0005117/1.157, allocations: 294.8 kB / 1.149 GB, free: 9.133 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.7e-07/1.157, allocations: 0 / 1.149 GB, free: 9.133 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0007212/1.157, allocations: 115.3 kB / 1.149 GB, free: 9.121 MB / 0.698 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.002164/1.16, allocations: 1.152 MB / 1.15 GB, free: 8.289 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0008251/1.16, allocations: 211.5 kB / 1.15 GB, free: 8.254 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.771e-06/1.16, allocations: 1.188 kB / 1.15 GB, free: 8.254 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003899/1.161, allocations: 120.7 kB / 1.151 GB, free: 8.227 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002127/1.163, allocations: 215.2 kB / 1.151 GB, free: 8.16 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006483/1.17, allocations: 2.542 MB / 1.153 GB, free: 6.852 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005555/1.17, allocations: 0.8359 MB / 1.154 GB, free: 6.09 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0006576/1.171, allocations: 85.94 kB / 1.154 GB, free: 6.051 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003059/1.171, allocations: 132.8 kB / 1.154 GB, free: 6.035 MB / 0.698 GB Notification: Performance of SimCode: time 1.252e-06/1.171, allocations: 0 / 1.154 GB, free: 6.035 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04704/1.218, allocations: 11.43 MB / 1.165 GB, free: 0.5586 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002945/1.219, allocations: 221.1 kB / 1.166 GB, free: 320 kB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.893/4.112, allocations: 0 / 1.166 GB, free: 320 kB / 0.698 GB (rm -f Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.Orifice.pipe ; mkfifo Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.Orifice.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.Orifice.pipe >> ../files/Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.Orifice.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Airflow_Multizone_Examples_Orifice_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Airflow_Multizone_Examples_Orifice.fmu > Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.Orifice.pipe 2>&1)