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.001513/0.001513, 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.001761/0.001761, allocations: 191.1 kB / 16.64 MB, free: 6.434 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.478/1.478, allocations: 205.1 MB / 222.5 MB, free: 4.562 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.761/1.761, allocations: 292.3 MB / 0.549 GB, free: 12.71 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.001406/0.001406, allocations: 69.81 kB / 0.6718 GB, free: 26.41 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2218/0.2232, allocations: 114.5 MB / 0.7836 GB, free: 13.28 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.Orifice): time 0.6194/0.8427, allocations: 173.8 MB / 0.9533 GB, free: 1.344 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003606/0.8463, allocations: 2.288 MB / 0.9556 GB, free: 1.113 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004043/0.8468, allocations: 20.34 kB / 0.9556 GB, free: 1.102 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0006886/0.8474, allocations: 227.1 kB / 0.9558 GB, free: 1.016 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.001945/0.8494, allocations: 0.9044 MB / 0.9567 GB, free: 0.793 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002014/0.8515, allocations: 0.858 MB / 0.9575 GB, free: 0.6758 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001122/0.8526, allocations: 0.9698 MB / 0.9585 GB, free: 0.5078 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004342/0.8531, allocations: 327.4 kB / 0.9588 GB, free: 476 kB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006538/0.8537, allocations: 453.3 kB / 0.9592 GB, free: 428 kB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003645/0.8541, allocations: 312.2 kB / 0.9595 GB, free: 416 kB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 5.66e-05/0.8542, allocations: 32.22 kB / 0.9595 GB, free: 416 kB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001701/0.8559, allocations: 0.992 MB / 0.9605 GB, free: 324 kB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001565/0.856, allocations: 148.5 kB / 0.9607 GB, free: 320 kB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0002499/0.8563, allocations: 237.5 kB / 0.9609 GB, free: 320 kB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001256/0.8576, allocations: 0.9133 MB / 0.9618 GB, free: 252 kB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.8576, allocations: 5.203 kB / 0.9618 GB, free: 248 kB / 0.7169 GB Notification: Performance of FrontEnd: time 1.613e-06/0.8576, allocations: 3.938 kB / 0.9618 GB, free: 244 kB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.846e-06/0.8576, allocations: 1.438 kB / 0.9618 GB, free: 244 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.001197/0.8588, allocations: 0.8022 MB / 0.9626 GB, free: 15.69 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.068e-05/0.8588, allocations: 14.86 kB / 0.9626 GB, free: 15.68 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.805e-05/0.8589, allocations: 69.88 kB / 0.9627 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001177/0.8601, allocations: 180.7 kB / 0.9628 GB, free: 15.61 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006262/0.8607, allocations: 386.8 kB / 0.9632 GB, free: 15.36 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.557e-05/0.8608, allocations: 23.09 kB / 0.9632 GB, free: 15.36 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.804e-05/0.8608, allocations: 35.88 kB / 0.9632 GB, free: 15.35 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005982/0.8615, allocations: 374 kB / 0.9636 GB, free: 15.25 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.017e-05/0.8615, allocations: 8.922 kB / 0.9636 GB, free: 15.24 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.854e-05/0.8615, allocations: 9.844 kB / 0.9636 GB, free: 15.24 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.529e-05/0.8616, allocations: 14.09 kB / 0.9636 GB, free: 15.24 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004702/0.862, allocations: 259.4 kB / 0.9639 GB, free: 15.23 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.0017/0.8637, allocations: 1.674 MB / 0.9655 GB, free: 14.07 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003685/0.8641, allocations: 204.7 kB / 0.9657 GB, free: 14.05 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002005/0.8643, allocations: 115.6 kB / 0.9658 GB, free: 14.04 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009461/0.8653, allocations: 0.8675 MB / 0.9667 GB, free: 13.1 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.843e-05/0.8653, allocations: 43.53 kB / 0.9667 GB, free: 13.05 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=23): time 1.533e-06/0.8653, allocations: 1.312 kB / 0.9667 GB, free: 13.05 MB / 0.7325 GB Notification: Performance of matching and sorting (n=23): time 0.0008419/0.8662, allocations: 355.2 kB / 0.9671 GB, free: 12.99 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.484e-05/0.8662, allocations: 53.75 kB / 0.9671 GB, free: 12.93 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004168/0.8666, allocations: 418 kB / 0.9675 GB, free: 12.82 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.486e-05/0.8667, allocations: 35.42 kB / 0.9675 GB, free: 12.79 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.000131/0.8668, allocations: 212.6 kB / 0.9677 GB, free: 12.68 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 5.952e-05/0.8669, allocations: 85.52 kB / 0.9678 GB, free: 12.63 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.976e-05/0.867, allocations: 51.3 kB / 0.9679 GB, free: 12.61 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001376/0.8671, allocations: 353 kB / 0.9682 GB, free: 12.3 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001745/0.8673, allocations: 76.47 kB / 0.9683 GB, free: 12.3 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002052/0.8675, allocations: 132.8 kB / 0.9684 GB, free: 12.26 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003546/0.8679, allocations: 203.2 kB / 0.9686 GB, free: 12.23 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.8679, allocations: 0 / 0.9686 GB, free: 12.23 MB / 0.7325 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004869/0.8684, allocations: 290.9 kB / 0.9689 GB, free: 12.16 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.605e-05/0.8684, allocations: 5.844 kB / 0.9689 GB, free: 12.16 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.768e-06/0.8684, allocations: 5.484 kB / 0.9689 GB, free: 12.15 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.616e-05/0.8684, allocations: 3.266 kB / 0.9689 GB, free: 12.15 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000214/0.8687, allocations: 54.95 kB / 0.9689 GB, free: 12.15 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/0.8687, allocations: 2.969 kB / 0.9689 GB, free: 12.15 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002044/0.8689, allocations: 31.3 kB / 0.969 GB, free: 12.13 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.739e-05/0.8689, allocations: 14 kB / 0.969 GB, free: 12.13 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.0001597/0.8691, allocations: 168.5 kB / 0.9691 GB, free: 12.01 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.217e-05/0.8692, allocations: 38.97 kB / 0.9692 GB, free: 11.99 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005424/0.8697, allocations: 288 kB / 0.9695 GB, free: 11.94 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.629e-06/0.8697, allocations: 2.375 kB / 0.9695 GB, free: 11.94 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.8697, allocations: 0 / 0.9695 GB, free: 11.94 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/0.8698, allocations: 2.156 kB / 0.9695 GB, free: 11.94 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001122/0.8709, allocations: 0.8138 MB / 0.9703 GB, free: 11.56 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.8709, allocations: 1.375 kB / 0.9703 GB, free: 11.56 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002103/0.8711, allocations: 57.38 kB / 0.9703 GB, free: 11.55 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.499e-06/0.8711, allocations: 6.938 kB / 0.9703 GB, free: 11.55 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.88e-05/0.8712, allocations: 7.25 kB / 0.9703 GB, free: 11.55 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.647e-06/0.8712, allocations: 2.75 kB / 0.9703 GB, free: 11.55 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.8712, allocations: 2.75 kB / 0.9703 GB, free: 11.55 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000706/0.8719, allocations: 0.5023 MB / 0.9708 GB, free: 11.34 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001402/0.872, allocations: 146.1 kB / 0.971 GB, free: 11.22 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.635e-05/0.8721, allocations: 6.125 kB / 0.971 GB, free: 11.22 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002429/0.8723, allocations: 17.78 kB / 0.971 GB, free: 11.22 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.012e-05/0.8724, allocations: 16.45 kB / 0.971 GB, free: 11.21 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.877e-05/0.8724, allocations: 13.25 kB / 0.971 GB, free: 11.21 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002996/0.8727, allocations: 300.1 kB / 0.9713 GB, free: 11.13 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.71e-07/0.8727, allocations: 3.938 kB / 0.9713 GB, free: 11.12 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004659/0.8732, allocations: 115.2 kB / 0.9714 GB, free: 11.11 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.00127/0.8745, allocations: 1.133 MB / 0.9725 GB, free: 10.36 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0004402/0.8749, allocations: 224.3 kB / 0.9727 GB, free: 10.34 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.875, allocations: 0 / 0.9727 GB, free: 10.34 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001994/0.8752, allocations: 112.2 kB / 0.9728 GB, free: 10.33 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001035/0.8762, allocations: 223.8 kB / 0.9731 GB, free: 10.29 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00435/0.8806, allocations: 3.671 MB / 0.9766 GB, free: 8.535 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00037/0.8809, allocations: 0.8252 MB / 0.9774 GB, free: 7.836 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002909/0.8812, allocations: 90.22 kB / 0.9775 GB, free: 7.812 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001563/0.8814, allocations: 135 kB / 0.9777 GB, free: 7.805 MB / 0.7325 GB Notification: Performance of SimCode: time 5.21e-07/0.8814, allocations: 4 kB / 0.9777 GB, free: 7.801 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03051/0.9119, allocations: 11.99 MB / 0.9894 GB, free: 2.383 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.631/8.543, allocations: 8.281 kB / 0.9894 GB, free: 2.379 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)