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.0008331/0.0008332, allocations: 91.84 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.005013/0.005013, allocations: 169.9 kB / 16.26 MB, free: 6.676 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.144/1.144, allocations: 205.4 MB / 222.4 MB, free: 5.566 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.493/1.493, allocations: 292.7 MB / 0.5502 GB, free: 14.44 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.0004511/0.0004511, allocations: 17.02 kB / 0.6744 GB, free: 25.69 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1641/0.1646, allocations: 116.3 MB / 0.788 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.Orifice): time 0.4668/0.6314, allocations: 169.3 MB / 0.9533 GB, free: 440 kB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003012/0.6345, allocations: 2.283 MB / 0.9556 GB, free: 220 kB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002285/0.6347, allocations: 11.19 kB / 0.9556 GB, free: 216 kB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0005198/0.6352, allocations: 188 kB / 0.9557 GB, free: 152 kB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.001627/0.6369, allocations: 0.8607 MB / 0.9566 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001551/0.6384, allocations: 0.7779 MB / 0.9573 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.001091/0.6395, allocations: 1.337 MB / 0.9586 GB, free: 15.71 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000346/0.6399, allocations: 276 kB / 0.9589 GB, free: 15.66 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005034/0.6404, allocations: 406.2 kB / 0.9593 GB, free: 15.62 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003087/0.6407, allocations: 329 kB / 0.9596 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 4.279e-05/0.6408, allocations: 18.62 kB / 0.9596 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001436/0.6422, allocations: 1.161 MB / 0.9608 GB, free: 15.49 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.000125/0.6424, allocations: 133.5 kB / 0.9609 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001986/0.6426, allocations: 250.2 kB / 0.9611 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0009543/0.6435, allocations: 0.9503 MB / 0.9621 GB, free: 15.37 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 2.845e-06/0.6435, allocations: 0 / 0.9621 GB, free: 15.37 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.152e-06/0.6435, allocations: 1.156 kB / 0.9621 GB, free: 15.37 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.851e-06/0.6436, allocations: 0 / 0.9621 GB, free: 15.37 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.0009936/0.6446, allocations: 0.7335 MB / 0.9628 GB, free: 14.83 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.439e-05/0.6446, allocations: 9.344 kB / 0.9628 GB, free: 14.83 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.514e-05/0.6447, allocations: 65.67 kB / 0.9628 GB, free: 14.79 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001066/0.6457, allocations: 183.6 kB / 0.963 GB, free: 14.76 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004415/0.6462, allocations: 372.7 kB / 0.9634 GB, free: 14.5 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.976e-05/0.6462, allocations: 24.38 kB / 0.9634 GB, free: 14.5 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.492e-05/0.6463, allocations: 31.69 kB / 0.9634 GB, free: 14.5 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000534/0.6468, allocations: 376.9 kB / 0.9638 GB, free: 14.4 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.516e-05/0.6468, allocations: 4.906 kB / 0.9638 GB, free: 14.39 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.675e-05/0.6469, allocations: 15.16 kB / 0.9638 GB, free: 14.39 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.008e-05/0.6469, allocations: 8.75 kB / 0.9638 GB, free: 14.39 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004513/0.6473, allocations: 272.1 kB / 0.9641 GB, free: 14.38 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.001516/0.6489, allocations: 1.682 MB / 0.9657 GB, free: 13.21 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003309/0.6492, allocations: 213.1 kB / 0.9659 GB, free: 13.18 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001976/0.6494, allocations: 122.4 kB / 0.966 GB, free: 13.17 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009517/0.6504, allocations: 0.8831 MB / 0.9669 GB, free: 12.23 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.649e-05/0.6504, allocations: 44.56 kB / 0.9669 GB, free: 12.18 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=23): time 1.293e-06/0.6504, allocations: 0 / 0.9669 GB, free: 12.18 MB / 0.7325 GB Notification: Performance of matching and sorting (n=23): time 0.0007956/0.6512, allocations: 374.5 kB / 0.9673 GB, free: 12.12 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.991e-05/0.6513, allocations: 53.81 kB / 0.9674 GB, free: 12.06 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003898/0.6517, allocations: 421.1 kB / 0.9678 GB, free: 11.95 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.667e-05/0.6517, allocations: 31.45 kB / 0.9678 GB, free: 11.91 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001247/0.6518, allocations: 215.2 kB / 0.968 GB, free: 11.81 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 5.511e-05/0.6519, allocations: 81.17 kB / 0.9681 GB, free: 11.76 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.71e-05/0.6519, allocations: 26.52 kB / 0.9681 GB, free: 11.74 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001196/0.6521, allocations: 358.3 kB / 0.9684 GB, free: 11.42 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001721/0.6522, allocations: 83.28 kB / 0.9685 GB, free: 11.42 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001958/0.6524, allocations: 134.8 kB / 0.9686 GB, free: 11.38 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003641/0.6528, allocations: 220.8 kB / 0.9689 GB, free: 11.34 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.6528, allocations: 1.156 kB / 0.9689 GB, free: 11.34 MB / 0.7325 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004727/0.6533, allocations: 297 kB / 0.9691 GB, free: 11.28 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.365e-05/0.6533, allocations: 5.406 kB / 0.9691 GB, free: 11.28 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.6533, allocations: 1.125 kB / 0.9691 GB, free: 11.28 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.251e-05/0.6534, allocations: 3.031 kB / 0.9691 GB, free: 11.28 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002119/0.6536, allocations: 53.17 kB / 0.9692 GB, free: 11.27 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.192e-06/0.6536, allocations: 2.25 kB / 0.9692 GB, free: 11.27 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002252/0.6538, allocations: 50.03 kB / 0.9692 GB, free: 11.25 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.271e-05/0.6538, allocations: 10.97 kB / 0.9693 GB, free: 11.25 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.0001412/0.654, allocations: 161.7 kB / 0.9694 GB, free: 11.13 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.171e-05/0.6541, allocations: 46.98 kB / 0.9695 GB, free: 11.11 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005214/0.6546, allocations: 292.9 kB / 0.9697 GB, free: 11.06 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.508e-06/0.6546, allocations: 5.188 kB / 0.9697 GB, free: 11.06 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.6546, allocations: 0 / 0.9697 GB, free: 11.06 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.302e-06/0.6546, allocations: 3.938 kB / 0.9697 GB, free: 11.05 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001043/0.6557, allocations: 0.82 MB / 0.9705 GB, free: 10.68 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.1e-06/0.6557, allocations: 6.031 kB / 0.9706 GB, free: 10.68 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002043/0.6559, allocations: 51.22 kB / 0.9706 GB, free: 10.68 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.6559, allocations: 3.438 kB / 0.9706 GB, free: 10.68 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.696e-05/0.656, allocations: 7.062 kB / 0.9706 GB, free: 10.68 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.386e-06/0.656, allocations: 3.344 kB / 0.9706 GB, free: 10.68 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.656, allocations: 1.094 kB / 0.9706 GB, free: 10.68 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006786/0.6566, allocations: 0.5242 MB / 0.9711 GB, free: 10.46 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000134/0.6568, allocations: 144.2 kB / 0.9713 GB, free: 10.34 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.925e-05/0.6568, allocations: 6.375 kB / 0.9713 GB, free: 10.34 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002659/0.6571, allocations: 35.06 kB / 0.9713 GB, free: 10.33 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.367e-05/0.6572, allocations: 16.98 kB / 0.9713 GB, free: 10.33 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.761e-05/0.6572, allocations: 12.72 kB / 0.9713 GB, free: 10.33 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002501/0.6574, allocations: 306.1 kB / 0.9716 GB, free: 10.24 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.9e-07/0.6575, allocations: 0 / 0.9716 GB, free: 10.24 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004/0.6579, allocations: 124.1 kB / 0.9717 GB, free: 10.23 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.001148/0.659, allocations: 1.144 MB / 0.9729 GB, free: 9.469 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0004039/0.6594, allocations: 220.1 kB / 0.9731 GB, free: 9.453 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.6594, allocations: 0 / 0.9731 GB, free: 9.453 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002094/0.6597, allocations: 118.9 kB / 0.9732 GB, free: 9.43 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001113/0.6608, allocations: 218.8 kB / 0.9734 GB, free: 9.355 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004283/0.6651, allocations: 3.932 MB / 0.9772 GB, free: 7.016 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003218/0.6654, allocations: 0.8269 MB / 0.978 GB, free: 6.258 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002642/0.6657, allocations: 81.69 kB / 0.9781 GB, free: 6.223 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001431/0.6658, allocations: 136.7 kB / 0.9782 GB, free: 6.207 MB / 0.7325 GB Notification: Performance of SimCode: time 4.31e-07/0.6658, allocations: 0 / 0.9782 GB, free: 6.207 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6103/1.276, allocations: 11.36 MB / 0.9893 GB, free: 0.7969 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001902/1.276, allocations: 232.7 kB / 0.9896 GB, free: 0.5391 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.809/3.086, allocations: 2.781 kB / 0.9896 GB, free: 0.5391 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 & /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)