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.43/1.43, allocations: 249.5 MB / 257 MB, free: 7.012 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.001106/0.001106, allocations: 184.9 kB / 316.3 MB, free: 3.312 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.466/1.466, allocations: 205.3 MB / 0.5671 GB, free: 15.9 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.0009345/0.0009347, allocations: 84.73 kB / 0.6714 GB, free: 5.027 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.536e-05/1.545e-05, allocations: 0 / 0.7815 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2074/0.2074, allocations: 106.3 MB / 0.8853 GB, free: 12.21 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.62/5.827, allocations: 2.183 GB / 3.068 GB, free: 182.5 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002115/5.828, allocations: 79.39 kB / 3.068 GB, free: 182.5 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 1.148/6.976, allocations: 339.1 MB / 3.4 GB, free: 193.6 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.472e-06/6.976, allocations: 0 / 3.4 GB, free: 193.6 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 3.18e-05/6.976, allocations: 19.52 kB / 3.4 GB, free: 193.6 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.001265/6.977, allocations: 0.7625 MB / 3.4 GB, free: 192.8 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.519e-05/6.977, allocations: 12.03 kB / 3.4 GB, free: 192.8 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001237/6.978, allocations: 167.3 kB / 3.401 GB, free: 192.6 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005488/6.979, allocations: 394.8 kB / 3.401 GB, free: 192.2 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.624e-05/6.979, allocations: 8 kB / 3.401 GB, free: 192.2 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.45e-05/6.979, allocations: 27.89 kB / 3.401 GB, free: 192.2 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003129/6.979, allocations: 197.5 kB / 3.401 GB, free: 192 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003956/6.98, allocations: 306.1 kB / 3.401 GB, free: 191.6 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.643e-05/6.98, allocations: 7.984 kB / 3.401 GB, free: 191.6 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.577e-05/6.98, allocations: 0 / 3.401 GB, free: 191.6 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.827e-06/6.98, allocations: 8 kB / 3.401 GB, free: 191.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.001419/6.981, allocations: 1.678 MB / 3.403 GB, free: 189.8 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002224/6.982, allocations: 161.5 kB / 3.403 GB, free: 189.7 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001051/6.982, allocations: 84.84 kB / 3.403 GB, free: 189.6 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007483/6.982, allocations: 0.8721 MB / 3.404 GB, free: 188.5 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.712e-05/6.982, allocations: 30.56 kB / 3.404 GB, free: 188.5 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=23): time 2.154e-06/6.982, allocations: 0 / 3.404 GB, free: 188.5 MB / 0.8698 GB Notification: Performance of matching and sorting (n=23): time 0.0006857/6.983, allocations: 271.5 kB / 3.404 GB, free: 188.2 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.729e-05/6.983, allocations: 55.41 kB / 3.404 GB, free: 188.1 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002114/6.983, allocations: 254.4 kB / 3.405 GB, free: 187.9 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.17e-05/6.983, allocations: 29.7 kB / 3.405 GB, free: 187.9 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 9.261e-05/6.984, allocations: 220.5 kB / 3.405 GB, free: 187.6 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 4.429e-05/6.984, allocations: 74.94 kB / 3.405 GB, free: 187.6 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.004e-05/6.984, allocations: 3.938 kB / 3.405 GB, free: 187.6 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 9.103e-05/6.984, allocations: 346.8 kB / 3.405 GB, free: 187.2 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.849e-05/6.984, allocations: 56.45 kB / 3.405 GB, free: 187.2 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001266/6.984, allocations: 111.7 kB / 3.406 GB, free: 187 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002817/6.984, allocations: 126.5 kB / 3.406 GB, free: 186.9 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.035e-06/6.984, allocations: 0 / 3.406 GB, free: 186.9 MB / 0.8698 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004311/6.985, allocations: 271.9 kB / 3.406 GB, free: 186.6 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.801e-05/6.985, allocations: 9.234 kB / 3.406 GB, free: 186.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.623e-06/6.985, allocations: 0 / 3.406 GB, free: 186.6 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.566e-05/6.985, allocations: 4 kB / 3.406 GB, free: 186.6 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002229/6.985, allocations: 47.92 kB / 3.406 GB, free: 186.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.143e-06/6.985, allocations: 7.984 kB / 3.406 GB, free: 186.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000236/6.985, allocations: 27.86 kB / 3.406 GB, free: 186.5 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.378e-05/6.985, allocations: 16 kB / 3.406 GB, free: 186.5 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 7.233e-05/6.985, allocations: 112.8 kB / 3.406 GB, free: 186.4 MB / 0.8698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004056/6.986, allocations: 239.7 kB / 3.406 GB, free: 186.2 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.982e-05/6.986, allocations: 39.53 kB / 3.406 GB, free: 186.1 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004867/6.986, allocations: 264.7 kB / 3.407 GB, free: 185.9 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/6.986, allocations: 11.92 kB / 3.407 GB, free: 185.9 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/6.986, allocations: 0 / 3.407 GB, free: 185.9 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.172e-06/6.986, allocations: 4 kB / 3.407 GB, free: 185.9 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001022/6.987, allocations: 0.7452 MB / 3.407 GB, free: 185.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/6.987, allocations: 0 / 3.407 GB, free: 185.1 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002192/6.988, allocations: 51.91 kB / 3.407 GB, free: 185 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.749e-06/6.988, allocations: 7.938 kB / 3.407 GB, free: 185 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.754e-05/6.988, allocations: 4 kB / 3.407 GB, free: 185 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.657e-06/6.988, allocations: 4 kB / 3.407 GB, free: 185 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.541e-06/6.988, allocations: 7.953 kB / 3.407 GB, free: 185 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005866/6.988, allocations: 0.5364 MB / 3.408 GB, free: 184.4 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001062/6.988, allocations: 132.6 kB / 3.408 GB, free: 184.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.754e-05/6.988, allocations: 4 kB / 3.408 GB, free: 184.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002684/6.989, allocations: 27.91 kB / 3.408 GB, free: 184.2 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.032e-05/6.989, allocations: 23.94 kB / 3.408 GB, free: 184.2 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.52e-05/6.989, allocations: 8 kB / 3.408 GB, free: 184.2 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0001521/6.989, allocations: 208.6 kB / 3.408 GB, free: 184 MB / 0.8698 GB Notification: Performance of sort global known variables: time 7.01e-07/6.989, allocations: 0 / 3.408 GB, free: 184 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0006619/6.99, allocations: 203.6 kB / 3.409 GB, free: 183.8 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.002382/6.992, allocations: 2.745 MB / 3.411 GB, free: 181.1 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0003014/6.992, allocations: 167.6 kB / 3.411 GB, free: 180.9 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.606e-06/6.992, allocations: 4.062 kB / 3.411 GB, free: 180.9 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001134/6.992, allocations: 92.48 kB / 3.412 GB, free: 180.8 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007917/6.993, allocations: 141.3 kB / 3.412 GB, free: 180.7 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001383/6.995, allocations: 0.7688 MB / 3.412 GB, free: 179.9 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002375/6.995, allocations: 0.8304 MB / 3.413 GB, free: 179 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0002571/6.995, allocations: 67.23 kB / 3.413 GB, free: 178.9 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001339/6.995, allocations: 123.4 kB / 3.413 GB, free: 178.8 MB / 0.8698 GB Notification: Performance of SimCode: time 3.31e-07/6.995, allocations: 0 / 3.413 GB, free: 178.8 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03574/7.031, allocations: 17.84 MB / 3.431 GB, free: 161.1 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002496/7.031, allocations: 172.3 kB / 3.431 GB, free: 160.9 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.543/9.575, allocations: 0 / 3.431 GB, free: 160.9 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)