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.001146/0.001146, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001162/0.001162, allocations: 197.4 kB / 16.26 MB, free: 6.621 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.218/1.218, allocations: 205.1 MB / 222.1 MB, free: 4.668 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.516/1.516, allocations: 292.3 MB / 0.5486 GB, free: 13.62 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.00128/0.00128, allocations: 65.59 kB / 0.6711 GB, free: 26.26 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1645/0.1658, allocations: 114.6 MB / 0.783 GB, free: 13.82 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.Orifice): time 0.4609/0.6267, allocations: 171.5 MB / 0.9504 GB, free: 5.848 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.002773/0.6295, allocations: 2.274 MB / 0.9526 GB, free: 5.781 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000225/0.6297, allocations: 14.94 kB / 0.9526 GB, free: 5.781 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0005593/0.6304, allocations: 195.5 kB / 0.9528 GB, free: 5.777 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0015/0.6319, allocations: 0.8553 MB / 0.9537 GB, free: 5.73 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001485/0.6334, allocations: 0.7807 MB / 0.9544 GB, free: 5.703 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.000986/0.6344, allocations: 0.9736 MB / 0.9554 GB, free: 5.695 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004194/0.6348, allocations: 324.3 kB / 0.9557 GB, free: 5.652 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005706/0.6354, allocations: 462.9 kB / 0.9561 GB, free: 5.652 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003351/0.6357, allocations: 329.2 kB / 0.9564 GB, free: 5.652 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 5.603e-05/0.6358, allocations: 32.84 kB / 0.9565 GB, free: 5.652 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001323/0.6371, allocations: 1.031 MB / 0.9575 GB, free: 5.641 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001354/0.6372, allocations: 151.5 kB / 0.9576 GB, free: 5.637 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0002281/0.6375, allocations: 232.7 kB / 0.9578 GB, free: 5.637 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001215/0.6387, allocations: 0.981 MB / 0.9588 GB, free: 5.582 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.397e-06/0.6387, allocations: 1.203 kB / 0.9588 GB, free: 5.582 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.724e-06/0.6387, allocations: 0.6562 kB / 0.9588 GB, free: 5.582 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.233e-06/0.6387, allocations: 0 / 0.9588 GB, free: 5.582 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.001287/0.64, allocations: 0.8091 MB / 0.9596 GB, free: 21.03 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.835e-05/0.6401, allocations: 9.969 kB / 0.9596 GB, free: 21.03 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.035e-05/0.6402, allocations: 67.42 kB / 0.9597 GB, free: 20.99 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001229/0.6414, allocations: 184.2 kB / 0.9598 GB, free: 20.96 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004669/0.6419, allocations: 368.9 kB / 0.9602 GB, free: 20.71 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.012e-05/0.6419, allocations: 24.59 kB / 0.9602 GB, free: 20.71 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.496e-05/0.6419, allocations: 38.12 kB / 0.9603 GB, free: 20.7 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005059/0.6425, allocations: 368.6 kB / 0.9606 GB, free: 20.61 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.366e-05/0.6425, allocations: 0 / 0.9606 GB, free: 20.61 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.665e-05/0.6425, allocations: 14.95 kB / 0.9606 GB, free: 20.61 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.996e-05/0.6425, allocations: 13.66 kB / 0.9606 GB, free: 20.61 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004382/0.643, allocations: 261.9 kB / 0.9609 GB, free: 20.6 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.001438/0.6444, allocations: 1.677 MB / 0.9625 GB, free: 19.46 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003195/0.6448, allocations: 201.8 kB / 0.9627 GB, free: 19.43 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001795/0.6449, allocations: 122.2 kB / 0.9628 GB, free: 19.42 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009168/0.6459, allocations: 0.8728 MB / 0.9637 GB, free: 18.48 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.189e-05/0.6459, allocations: 36.47 kB / 0.9637 GB, free: 18.44 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=23): time 1.232e-06/0.6459, allocations: 0 / 0.9637 GB, free: 18.44 MB / 0.7481 GB Notification: Performance of matching and sorting (n=23): time 0.0007489/0.6467, allocations: 352.5 kB / 0.9641 GB, free: 18.38 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.523e-05/0.6467, allocations: 57.62 kB / 0.9641 GB, free: 18.31 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003525/0.6471, allocations: 422.6 kB / 0.9645 GB, free: 18.2 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 3.167e-05/0.6471, allocations: 29.92 kB / 0.9645 GB, free: 18.17 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001084/0.6472, allocations: 210.4 kB / 0.9647 GB, free: 18.07 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 4.274e-05/0.6473, allocations: 89.86 kB / 0.9648 GB, free: 18.01 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.55e-05/0.6473, allocations: 51.28 kB / 0.9649 GB, free: 18 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.000109/0.6475, allocations: 353.4 kB / 0.9652 GB, free: 17.68 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001585/0.6476, allocations: 75.72 kB / 0.9653 GB, free: 17.68 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000175/0.6478, allocations: 129.8 kB / 0.9654 GB, free: 17.64 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003217/0.6481, allocations: 206.6 kB / 0.9656 GB, free: 17.61 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.6481, allocations: 3.031 kB / 0.9656 GB, free: 17.61 MB / 0.7481 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004413/0.6486, allocations: 286.8 kB / 0.9659 GB, free: 17.55 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.227e-05/0.6486, allocations: 5 kB / 0.9659 GB, free: 17.55 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.91e-06/0.6486, allocations: 1.25 kB / 0.9659 GB, free: 17.55 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.036e-05/0.6486, allocations: 3.703 kB / 0.9659 GB, free: 17.55 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002068/0.6488, allocations: 55.27 kB / 0.9659 GB, free: 17.55 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.152e-06/0.6489, allocations: 2.438 kB / 0.966 GB, free: 17.55 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002183/0.6491, allocations: 40.38 kB / 0.966 GB, free: 17.53 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.416e-05/0.6491, allocations: 15.41 kB / 0.966 GB, free: 17.52 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.0001424/0.6493, allocations: 166.9 kB / 0.9662 GB, free: 17.41 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.213e-05/0.6493, allocations: 39.41 kB / 0.9662 GB, free: 17.39 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004881/0.6498, allocations: 283.9 kB / 0.9665 GB, free: 17.34 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.6498, allocations: 9.469 kB / 0.9665 GB, free: 17.34 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.6498, allocations: 1.156 kB / 0.9665 GB, free: 17.34 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.548e-06/0.6498, allocations: 4.078 kB / 0.9665 GB, free: 17.33 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009977/0.6508, allocations: 0.8141 MB / 0.9673 GB, free: 16.97 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.916e-06/0.6509, allocations: 2.812 kB / 0.9673 GB, free: 16.97 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002034/0.6511, allocations: 48 kB / 0.9673 GB, free: 16.96 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.507e-06/0.6511, allocations: 2.156 kB / 0.9673 GB, free: 16.96 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.025e-05/0.6511, allocations: 11.02 kB / 0.9673 GB, free: 16.96 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.848e-06/0.6511, allocations: 5 kB / 0.9673 GB, free: 16.96 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.6511, allocations: 2.094 kB / 0.9673 GB, free: 16.96 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006349/0.6518, allocations: 0.5079 MB / 0.9678 GB, free: 16.75 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001312/0.6519, allocations: 140.9 kB / 0.968 GB, free: 16.63 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.631e-05/0.652, allocations: 10 kB / 0.968 GB, free: 16.63 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002686/0.6522, allocations: 24.39 kB / 0.968 GB, free: 16.63 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.485e-05/0.6523, allocations: 20.08 kB / 0.968 GB, free: 16.63 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.676e-05/0.6523, allocations: 11.91 kB / 0.968 GB, free: 16.63 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0002547/0.6526, allocations: 299.1 kB / 0.9683 GB, free: 16.55 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6526, allocations: 3 kB / 0.9683 GB, free: 16.55 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.000385/0.653, allocations: 119.2 kB / 0.9684 GB, free: 16.54 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.001091/0.6541, allocations: 1.13 MB / 0.9695 GB, free: 15.78 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0004115/0.6545, allocations: 219.2 kB / 0.9698 GB, free: 15.78 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.6545, allocations: 0 / 0.9698 GB, free: 15.78 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001951/0.6547, allocations: 116.7 kB / 0.9699 GB, free: 15.77 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009592/0.6557, allocations: 235 kB / 0.9701 GB, free: 15.73 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003927/0.6596, allocations: 3.841 MB / 0.9738 GB, free: 13.79 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003151/0.6599, allocations: 0.8268 MB / 0.9746 GB, free: 13.09 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0002628/0.6602, allocations: 80.7 kB / 0.9747 GB, free: 13.07 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000144/0.6603, allocations: 136.2 kB / 0.9749 GB, free: 13.06 MB / 0.7481 GB Notification: Performance of SimCode: time 2.3e-07/0.6604, allocations: 0 / 0.9749 GB, free: 13.06 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02219/0.6825, allocations: 11.81 MB / 0.9864 GB, free: 12.2 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002103/0.6828, allocations: 227.6 kB / 0.9866 GB, free: 11.95 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.796/2.479, allocations: 4 kB / 0.9866 GB, free: 11.95 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)