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.001565/0.001565, allocations: 105.4 kB / 15.7 MB, free: 24 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.002103/0.002103, allocations: 194 kB / 16.64 MB, free: 6.453 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.118/2.118, allocations: 205.1 MB / 222.5 MB, free: 4.586 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.891/1.891, allocations: 292.3 MB / 0.549 GB, free: 12.74 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.001935/0.001935, allocations: 78.86 kB / 0.6718 GB, free: 26.23 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4043/0.4062, allocations: 114.5 MB / 0.7836 GB, free: 13.26 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.Orifice): time 1.133/1.539, allocations: 173.8 MB / 0.9533 GB, free: 1.266 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.005763/1.545, allocations: 2.291 MB / 0.9556 GB, free: 1.035 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009854/1.546, allocations: 16.19 kB / 0.9556 GB, free: 1.027 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001125/1.547, allocations: 230.3 kB / 0.9558 GB, free: 0.9375 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.00335/1.55, allocations: 0.9016 MB / 0.9567 GB, free: 0.7148 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.003348/1.554, allocations: 0.8611 MB / 0.9575 GB, free: 0.5977 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.002273/1.556, allocations: 0.9638 MB / 0.9585 GB, free: 440 kB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006482/1.557, allocations: 327.1 kB / 0.9588 GB, free: 400 kB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001088/1.558, allocations: 456.3 kB / 0.9592 GB, free: 348 kB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005417/1.558, allocations: 316.5 kB / 0.9595 GB, free: 336 kB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 7.554e-05/1.558, allocations: 32.09 kB / 0.9596 GB, free: 336 kB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002992/1.561, allocations: 0.987 MB / 0.9605 GB, free: 244 kB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0002408/1.562, allocations: 151.9 kB / 0.9607 GB, free: 240 kB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0003842/1.562, allocations: 234.8 kB / 0.9609 GB, free: 240 kB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.002429/1.565, allocations: 0.9129 MB / 0.9618 GB, free: 172 kB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 8.536e-06/1.565, allocations: 6.391 kB / 0.9618 GB, free: 168 kB / 0.7169 GB Notification: Performance of FrontEnd: time 2.725e-06/1.565, allocations: 2.391 kB / 0.9618 GB, free: 168 kB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.227e-05/1.565, allocations: 0 / 0.9618 GB, free: 168 kB / 0.7169 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.001649/1.566, allocations: 0.8069 MB / 0.9626 GB, free: 15.61 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 7.083e-05/1.566, allocations: 9.25 kB / 0.9626 GB, free: 15.61 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.992e-05/1.566, allocations: 66.77 kB / 0.9626 GB, free: 15.57 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001374/1.568, allocations: 184.5 kB / 0.9628 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008652/1.569, allocations: 386.7 kB / 0.9632 GB, free: 15.28 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.615e-05/1.569, allocations: 23.28 kB / 0.9632 GB, free: 15.28 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.956e-05/1.569, allocations: 34.38 kB / 0.9632 GB, free: 15.28 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008072/1.57, allocations: 375.4 kB / 0.9636 GB, free: 15.17 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.972e-05/1.57, allocations: 1.062 kB / 0.9636 GB, free: 15.17 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.67e-05/1.57, allocations: 17.34 kB / 0.9636 GB, free: 15.17 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.977e-05/1.57, allocations: 9.906 kB / 0.9636 GB, free: 15.17 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006213/1.57, allocations: 264.1 kB / 0.9639 GB, free: 15.16 MB / 0.7325 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.002352/1.573, allocations: 1.669 MB / 0.9655 GB, free: 14 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005089/1.573, allocations: 203.4 kB / 0.9657 GB, free: 13.98 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002532/1.574, allocations: 119 kB / 0.9658 GB, free: 13.96 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001239/1.575, allocations: 0.8725 MB / 0.9667 GB, free: 13.02 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.027e-05/1.575, allocations: 41.5 kB / 0.9667 GB, free: 12.98 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=23): time 1.813e-06/1.575, allocations: 3.938 kB / 0.9667 GB, free: 12.98 MB / 0.7325 GB Notification: Performance of matching and sorting (n=23): time 0.001154/1.576, allocations: 350.4 kB / 0.9671 GB, free: 12.92 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.216e-05/1.576, allocations: 54.44 kB / 0.9671 GB, free: 12.86 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006316/1.577, allocations: 427.5 kB / 0.9675 GB, free: 12.74 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.995e-05/1.577, allocations: 30.55 kB / 0.9675 GB, free: 12.71 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002126/1.577, allocations: 210.9 kB / 0.9677 GB, free: 12.61 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001019/1.577, allocations: 82.34 kB / 0.9678 GB, free: 12.55 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001226/1.577, allocations: 49.08 kB / 0.9679 GB, free: 12.54 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0002294/1.578, allocations: 358.7 kB / 0.9682 GB, free: 12.22 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002222/1.578, allocations: 75.7 kB / 0.9683 GB, free: 12.22 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000275/1.578, allocations: 129.6 kB / 0.9684 GB, free: 12.18 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004491/1.579, allocations: 209.1 kB / 0.9686 GB, free: 12.15 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.803e-06/1.579, allocations: 1.469 kB / 0.9686 GB, free: 12.15 MB / 0.7325 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006487/1.579, allocations: 291.8 kB / 0.9689 GB, free: 12.07 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.887e-05/1.579, allocations: 5.594 kB / 0.9689 GB, free: 12.07 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.338e-06/1.579, allocations: 1.938 kB / 0.9689 GB, free: 12.07 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.103e-05/1.579, allocations: 1.25 kB / 0.9689 GB, free: 12.07 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002556/1.58, allocations: 51.05 kB / 0.9689 GB, free: 12.07 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.056e-05/1.58, allocations: 3.656 kB / 0.9689 GB, free: 12.07 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002825/1.58, allocations: 34.78 kB / 0.969 GB, free: 12.05 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.723e-05/1.58, allocations: 13.41 kB / 0.969 GB, free: 12.05 MB / 0.7325 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.0002011/1.58, allocations: 166 kB / 0.9691 GB, free: 11.93 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.418e-05/1.58, allocations: 41.41 kB / 0.9692 GB, free: 11.91 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006383/1.581, allocations: 284.9 kB / 0.9695 GB, free: 11.86 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.543e-06/1.581, allocations: 2.281 kB / 0.9695 GB, free: 11.86 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/1.581, allocations: 1.281 kB / 0.9695 GB, free: 11.86 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.572e-06/1.581, allocations: 2.625 kB / 0.9695 GB, free: 11.86 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001536/1.582, allocations: 0.8131 MB / 0.9703 GB, free: 11.49 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.358e-06/1.582, allocations: 2.578 kB / 0.9703 GB, free: 11.49 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002458/1.583, allocations: 54.38 kB / 0.9703 GB, free: 11.48 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.064e-06/1.583, allocations: 2.75 kB / 0.9703 GB, free: 11.48 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.508e-05/1.583, allocations: 7.625 kB / 0.9703 GB, free: 11.48 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.308e-06/1.583, allocations: 7.188 kB / 0.9703 GB, free: 11.48 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/1.583, allocations: 1.375 kB / 0.9703 GB, free: 11.48 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000913/1.584, allocations: 0.5061 MB / 0.9708 GB, free: 11.26 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001935/1.584, allocations: 145.9 kB / 0.971 GB, free: 11.14 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.253e-05/1.584, allocations: 3.438 kB / 0.971 GB, free: 11.14 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002663/1.584, allocations: 19.72 kB / 0.971 GB, free: 11.14 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.082e-05/1.584, allocations: 19.25 kB / 0.971 GB, free: 11.14 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.337e-05/1.584, allocations: 11.41 kB / 0.971 GB, free: 11.14 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0004333/1.585, allocations: 302.7 kB / 0.9713 GB, free: 11.05 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.31e-07/1.585, allocations: 0 / 0.9713 GB, free: 11.05 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0007622/1.586, allocations: 113.3 kB / 0.9714 GB, free: 11.04 MB / 0.7325 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.001791/1.587, allocations: 1.144 MB / 0.9725 GB, free: 10.27 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0006279/1.588, allocations: 209.1 kB / 0.9727 GB, free: 10.26 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 5.2e-06/1.588, allocations: 2.375 kB / 0.9727 GB, free: 10.26 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002455/1.588, allocations: 116.2 kB / 0.9728 GB, free: 10.25 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001202/1.589, allocations: 224.4 kB / 0.9731 GB, free: 10.21 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007234/1.597, allocations: 3.669 MB / 0.9766 GB, free: 8.461 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007842/1.598, allocations: 0.8219 MB / 0.9774 GB, free: 7.762 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0005962/1.598, allocations: 90.2 kB / 0.9775 GB, free: 7.738 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002675/1.598, allocations: 146.8 kB / 0.9777 GB, free: 7.723 MB / 0.7325 GB Notification: Performance of SimCode: time 3.186e-06/1.598, allocations: 3.938 kB / 0.9777 GB, free: 7.719 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04785/1.646, allocations: 11.99 MB / 0.9894 GB, free: 2.297 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.871/9.517, allocations: 1.875 kB / 0.9894 GB, free: 2.297 MB / 0.7325 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 & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Airflow.Multizone.Examples.Orifice_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Airflow_Multizone_Examples_Orifice.fmu > Buildings_8_Buildings.Airflow.Multizone.Examples.Orifice.pipe 2>&1)