Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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(Buildings.Airflow.Multizone.Examples.Orifice,fileNamePrefix="Buildings_8_Buildings_Airflow_Multizone_Examples_Orifice",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.Orifice,fileNamePrefix="Buildings_8_Buildings_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.001007/0.001007, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001025/0.001025, allocations: 195.3 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.506/1.506, allocations: 205.1 MB / 222.4 MB, free: 4.598 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.565/1.565, allocations: 292.3 MB / 0.5489 GB, free: 13.52 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001602/0.001602, allocations: 71.69 kB / 0.6716 GB, free: 26.08 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2353/0.2369, allocations: 114.6 MB / 0.7835 GB, free: 13.5 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.Orifice): time 0.694/0.931, allocations: 173.8 MB / 0.9532 GB, free: 5.492 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.00396/0.9349, allocations: 2.28 MB / 0.9554 GB, free: 5.41 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004665/0.9354, allocations: 15.38 kB / 0.9554 GB, free: 5.41 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0007785/0.9363, allocations: 235.1 kB / 0.9556 GB, free: 5.406 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.002186/0.9385, allocations: 0.9024 MB / 0.9565 GB, free: 5.359 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.002213/0.9407, allocations: 0.8504 MB / 0.9574 GB, free: 5.324 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.001308/0.942, allocations: 0.9648 MB / 0.9583 GB, free: 5.32 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005075/0.9425, allocations: 324.5 kB / 0.9586 GB, free: 5.285 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007803/0.9433, allocations: 458.3 kB / 0.959 GB, free: 5.281 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004115/0.9438, allocations: 309.2 kB / 0.9593 GB, free: 5.281 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 7.366e-05/0.9438, allocations: 32.53 kB / 0.9594 GB, free: 5.281 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002174/0.946, allocations: 0.9898 MB / 0.9603 GB, free: 5.27 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0002039/0.9462, allocations: 150.2 kB / 0.9605 GB, free: 5.27 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0003608/0.9466, allocations: 237.5 kB / 0.9607 GB, free: 5.27 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001746/0.9483, allocations: 0.9033 MB / 0.9616 GB, free: 5.219 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.9484, allocations: 0 / 0.9616 GB, free: 5.219 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.163e-06/0.9484, allocations: 4.531 kB / 0.9616 GB, free: 5.215 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.815e-06/0.9484, allocations: 0 / 0.9616 GB, free: 5.215 MB / 0.7325 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.001375/0.9498, allocations: 0.8058 MB / 0.9624 GB, free: 20.66 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.191e-05/0.9498, allocations: 9.938 kB / 0.9624 GB, free: 20.66 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.59e-05/0.9499, allocations: 70.22 kB / 0.9625 GB, free: 20.62 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001134/0.951, allocations: 182.7 kB / 0.9626 GB, free: 20.59 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004452/0.9515, allocations: 371.9 kB / 0.963 GB, free: 20.34 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.392e-05/0.9515, allocations: 19.97 kB / 0.963 GB, free: 20.34 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.495e-05/0.9516, allocations: 35.12 kB / 0.963 GB, free: 20.34 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005547/0.9521, allocations: 374 kB / 0.9634 GB, free: 20.24 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.562e-05/0.9522, allocations: 2.219 kB / 0.9634 GB, free: 20.24 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.321e-05/0.9522, allocations: 14.94 kB / 0.9634 GB, free: 20.24 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.8e-05/0.9522, allocations: 9.656 kB / 0.9634 GB, free: 20.24 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005016/0.9527, allocations: 266.6 kB / 0.9637 GB, free: 20.23 MB / 0.7481 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.001708/0.9545, allocations: 1.678 MB / 0.9653 GB, free: 19.09 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003735/0.9548, allocations: 203.3 kB / 0.9655 GB, free: 19.07 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002009/0.955, allocations: 121.5 kB / 0.9656 GB, free: 19.05 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001073/0.9561, allocations: 0.8719 MB / 0.9665 GB, free: 18.11 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.683e-05/0.9562, allocations: 42.12 kB / 0.9665 GB, free: 18.07 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=23): time 1.212e-06/0.9562, allocations: 0 / 0.9665 GB, free: 18.07 MB / 0.7481 GB Notification: Performance of matching and sorting (n=23): time 0.0008625/0.957, allocations: 354.1 kB / 0.9669 GB, free: 18.01 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.101e-05/0.9571, allocations: 54.47 kB / 0.9669 GB, free: 17.95 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004474/0.9575, allocations: 424 kB / 0.9673 GB, free: 17.83 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 3.153e-05/0.9576, allocations: 35.39 kB / 0.9673 GB, free: 17.8 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.000139/0.9577, allocations: 207.9 kB / 0.9675 GB, free: 17.7 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 6.258e-05/0.9578, allocations: 83.92 kB / 0.9676 GB, free: 17.64 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.776e-05/0.9579, allocations: 55.55 kB / 0.9677 GB, free: 17.63 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001245/0.958, allocations: 354.1 kB / 0.968 GB, free: 17.31 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001746/0.9582, allocations: 77.36 kB / 0.9681 GB, free: 17.31 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001948/0.9584, allocations: 124.7 kB / 0.9682 GB, free: 17.28 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003602/0.9588, allocations: 210.1 kB / 0.9684 GB, free: 17.24 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.9588, allocations: 0.9688 kB / 0.9684 GB, free: 17.24 MB / 0.7481 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004914/0.9593, allocations: 288.9 kB / 0.9687 GB, free: 17.18 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/0.9593, allocations: 7.547 kB / 0.9687 GB, free: 17.18 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.9593, allocations: 0.9688 kB / 0.9687 GB, free: 17.18 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.991e-05/0.9593, allocations: 2.344 kB / 0.9687 GB, free: 17.18 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000227/0.9596, allocations: 54.81 kB / 0.9687 GB, free: 17.18 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.069e-05/0.9596, allocations: 4.562 kB / 0.9687 GB, free: 17.18 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002013/0.9598, allocations: 27.41 kB / 0.9688 GB, free: 17.16 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.903e-05/0.9598, allocations: 19.56 kB / 0.9688 GB, free: 17.16 MB / 0.7481 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.0001489/0.96, allocations: 165.6 kB / 0.969 GB, free: 17.04 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.059e-05/0.9601, allocations: 42.09 kB / 0.969 GB, free: 17.02 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005529/0.9606, allocations: 283.2 kB / 0.9693 GB, free: 16.97 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.66e-06/0.9606, allocations: 2.031 kB / 0.9693 GB, free: 16.97 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.9606, allocations: 2.234 kB / 0.9693 GB, free: 16.97 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.02e-06/0.9607, allocations: 2.906 kB / 0.9693 GB, free: 16.97 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001102/0.9618, allocations: 0.8123 MB / 0.9701 GB, free: 16.61 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.528e-06/0.9618, allocations: 6 kB / 0.9701 GB, free: 16.61 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000208/0.962, allocations: 51.11 kB / 0.9701 GB, free: 16.6 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.919e-06/0.962, allocations: 3.031 kB / 0.9701 GB, free: 16.6 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.944e-05/0.962, allocations: 6.75 kB / 0.9701 GB, free: 16.6 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.437e-06/0.962, allocations: 4.781 kB / 0.9701 GB, free: 16.6 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.454e-06/0.962, allocations: 2.781 kB / 0.9701 GB, free: 16.6 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006944/0.9627, allocations: 0.5051 MB / 0.9706 GB, free: 16.39 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001395/0.9629, allocations: 142.7 kB / 0.9708 GB, free: 16.27 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.754e-05/0.963, allocations: 10.56 kB / 0.9708 GB, free: 16.27 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002413/0.9632, allocations: 17.31 kB / 0.9708 GB, free: 16.27 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.572e-05/0.9633, allocations: 19.16 kB / 0.9708 GB, free: 16.27 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.888e-05/0.9633, allocations: 8.688 kB / 0.9708 GB, free: 16.27 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0002884/0.9636, allocations: 300.2 kB / 0.9711 GB, free: 16.18 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9636, allocations: 3.938 kB / 0.9711 GB, free: 16.18 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0004564/0.9641, allocations: 119.1 kB / 0.9712 GB, free: 16.17 MB / 0.7481 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.00123/0.9653, allocations: 1.147 MB / 0.9723 GB, free: 15.4 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0004684/0.9658, allocations: 212.8 kB / 0.9725 GB, free: 15.4 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.9658, allocations: 1.656 kB / 0.9725 GB, free: 15.4 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.000208/0.966, allocations: 117.7 kB / 0.9727 GB, free: 15.4 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001028/0.967, allocations: 226.5 kB / 0.9729 GB, free: 15.36 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004416/0.9715, allocations: 3.716 MB / 0.9765 GB, free: 13.55 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003813/0.9719, allocations: 0.8205 MB / 0.9773 GB, free: 12.85 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0003168/0.9722, allocations: 94.64 kB / 0.9774 GB, free: 12.82 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001663/0.9723, allocations: 138.2 kB / 0.9775 GB, free: 12.81 MB / 0.7481 GB Notification: Performance of SimCode: time 2.21e-07/0.9724, allocations: 0 / 0.9775 GB, free: 12.81 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03213/1.004, allocations: 11.98 MB / 0.9892 GB, free: 11.16 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.445/8.449, allocations: 11.69 kB / 0.9892 GB, free: 11.16 MB / 0.7481 GB (rm -f Buildings_8_Buildings.Airflow.Multizone.Examples.Orifice.pipe ; mkfifo Buildings_8_Buildings.Airflow.Multizone.Examples.Orifice.pipe ; head -c 1048576 < Buildings_8_Buildings.Airflow.Multizone.Examples.Orifice.pipe >> ../files/Buildings_8_Buildings.Airflow.Multizone.Examples.Orifice.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Airflow_Multizone_Examples_Orifice_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Airflow_Multizone_Examples_Orifice.fmu > Buildings_8_Buildings.Airflow.Multizone.Examples.Orifice.pipe 2>&1)