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.0006865/0.0006865, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.0008215/0.0008215, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.129/1.129, allocations: 205.4 MB / 222.1 MB, free: 5.621 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.496/1.496, allocations: 292.7 MB / 0.5499 GB, free: 14.56 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.0004751/0.0004751, allocations: 11.59 kB / 0.6738 GB, free: 26.32 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1805/0.181, allocations: 116.3 MB / 0.7874 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.Orifice): time 0.4909/0.672, allocations: 158 MB / 0.9416 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002552/0.6745, allocations: 2.165 MB / 0.9438 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002079/0.6748, allocations: 12.59 kB / 0.9438 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0004531/0.6752, allocations: 156.4 kB / 0.9439 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.001252/0.6765, allocations: 0.6636 MB / 0.9446 GB, free: 5.484 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001349/0.6779, allocations: 0.6157 MB / 0.9452 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001041/0.6789, allocations: 1.145 MB / 0.9463 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003276/0.6792, allocations: 249.6 kB / 0.9465 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005229/0.6798, allocations: 415.2 kB / 0.9469 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003183/0.6801, allocations: 303.5 kB / 0.9472 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.821e-05/0.6802, allocations: 18.25 kB / 0.9472 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001087/0.6812, allocations: 0.5388 MB / 0.9478 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001488/0.6814, allocations: 130.1 kB / 0.9479 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0002979/0.6817, allocations: 109.8 kB / 0.948 GB, free: 21.05 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0006894/0.6824, allocations: 0.561 MB / 0.9485 GB, free: 21 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.6824, allocations: 0.5312 kB / 0.9485 GB, free: 21 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.753e-06/0.6824, allocations: 0.5625 kB / 0.9485 GB, free: 21 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.372e-06/0.6824, allocations: 0 / 0.9485 GB, free: 21 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.001001/0.6834, allocations: 0.7283 MB / 0.9492 GB, free: 20.47 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.103e-05/0.6835, allocations: 9.031 kB / 0.9493 GB, free: 20.47 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.572e-05/0.6836, allocations: 72.34 kB / 0.9493 GB, free: 20.43 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001011/0.6846, allocations: 179.2 kB / 0.9495 GB, free: 20.4 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004325/0.685, allocations: 360.5 kB / 0.9498 GB, free: 20.15 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.881e-05/0.685, allocations: 23.19 kB / 0.9499 GB, free: 20.15 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.233e-05/0.6851, allocations: 33.22 kB / 0.9499 GB, free: 20.14 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005103/0.6856, allocations: 381.3 kB / 0.9503 GB, free: 20.04 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.41e-05/0.6856, allocations: 1.094 kB / 0.9503 GB, free: 20.04 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.649e-05/0.6857, allocations: 12.94 kB / 0.9503 GB, free: 20.04 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.145e-05/0.6857, allocations: 12.28 kB / 0.9503 GB, free: 20.04 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004284/0.6861, allocations: 269.7 kB / 0.9505 GB, free: 20.03 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.001466/0.6876, allocations: 1.677 MB / 0.9522 GB, free: 18.86 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003325/0.6879, allocations: 207 kB / 0.9524 GB, free: 18.84 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001877/0.6881, allocations: 129.2 kB / 0.9525 GB, free: 18.82 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008578/0.689, allocations: 0.8819 MB / 0.9534 GB, free: 17.88 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.62e-05/0.689, allocations: 38.27 kB / 0.9534 GB, free: 17.84 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=23): time 1.383e-06/0.689, allocations: 0 / 0.9534 GB, free: 17.84 MB / 0.7325 GB Notification: Performance of matching and sorting (n=23): time 0.0007555/0.6898, allocations: 368.3 kB / 0.9537 GB, free: 17.78 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.321e-05/0.6899, allocations: 58.25 kB / 0.9538 GB, free: 17.71 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003675/0.6902, allocations: 414.3 kB / 0.9542 GB, free: 17.6 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.221e-05/0.6903, allocations: 32.19 kB / 0.9542 GB, free: 17.57 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001123/0.6904, allocations: 221.2 kB / 0.9544 GB, free: 17.46 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.184e-05/0.6904, allocations: 75.56 kB / 0.9545 GB, free: 17.41 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.088e-05/0.6904, allocations: 7.719 kB / 0.9545 GB, free: 17.41 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001004/0.6905, allocations: 355.5 kB / 0.9549 GB, free: 17.1 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001614/0.6907, allocations: 88.41 kB / 0.9549 GB, free: 17.09 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001736/0.6909, allocations: 128.3 kB / 0.9551 GB, free: 17.05 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000172/0.6911, allocations: 104.5 kB / 0.9552 GB, free: 17.05 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.6911, allocations: 0 / 0.9552 GB, free: 17.05 MB / 0.7325 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004307/0.6915, allocations: 285.9 kB / 0.9554 GB, free: 16.99 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.373e-05/0.6915, allocations: 9.188 kB / 0.9554 GB, free: 16.99 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.6915, allocations: 0 / 0.9554 GB, free: 16.99 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.072e-05/0.6916, allocations: 6.312 kB / 0.9554 GB, free: 16.98 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002058/0.6918, allocations: 52.52 kB / 0.9555 GB, free: 16.98 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.6918, allocations: 2.719 kB / 0.9555 GB, free: 16.98 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002059/0.692, allocations: 45.31 kB / 0.9555 GB, free: 16.96 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.364e-05/0.692, allocations: 8.188 kB / 0.9556 GB, free: 16.96 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001425/0.6922, allocations: 172.8 kB / 0.9557 GB, free: 16.84 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.05e-05/0.6922, allocations: 44.64 kB / 0.9558 GB, free: 16.82 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004912/0.6927, allocations: 295.5 kB / 0.956 GB, free: 16.76 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.6928, allocations: 6.906 kB / 0.956 GB, free: 16.76 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.6928, allocations: 0 / 0.956 GB, free: 16.76 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.828e-06/0.6928, allocations: 1.062 kB / 0.9561 GB, free: 16.76 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009825/0.6938, allocations: 0.8193 MB / 0.9569 GB, free: 16.39 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.866e-06/0.6938, allocations: 0.9375 kB / 0.9569 GB, free: 16.39 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001967/0.694, allocations: 49.41 kB / 0.9569 GB, free: 16.38 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.768e-06/0.694, allocations: 3.25 kB / 0.9569 GB, free: 16.38 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.795e-05/0.694, allocations: 12.88 kB / 0.9569 GB, free: 16.38 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.848e-06/0.694, allocations: 6.719 kB / 0.9569 GB, free: 16.38 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.694, allocations: 1.156 kB / 0.9569 GB, free: 16.38 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006215/0.6947, allocations: 0.5258 MB / 0.9574 GB, free: 16.16 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001227/0.6948, allocations: 145.9 kB / 0.9576 GB, free: 16.04 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.353e-05/0.6948, allocations: 10.66 kB / 0.9576 GB, free: 16.04 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002453/0.6951, allocations: 23.86 kB / 0.9576 GB, free: 16.04 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.31e-05/0.6951, allocations: 26.55 kB / 0.9576 GB, free: 16.03 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.63e-05/0.6952, allocations: 7.5 kB / 0.9576 GB, free: 16.03 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002581/0.6954, allocations: 302 kB / 0.9579 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6954, allocations: 1.156 kB / 0.9579 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003927/0.6958, allocations: 116.5 kB / 0.958 GB, free: 15.93 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00106/0.6969, allocations: 1.145 MB / 0.9592 GB, free: 15.17 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0003914/0.6973, allocations: 214 kB / 0.9594 GB, free: 15.16 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.6973, allocations: 1.156 kB / 0.9594 GB, free: 15.16 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001873/0.6975, allocations: 123.4 kB / 0.9595 GB, free: 15.14 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009263/0.6984, allocations: 222.9 kB / 0.9597 GB, free: 15.12 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00307/0.7015, allocations: 2.537 MB / 0.9622 GB, free: 14.12 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003062/0.7018, allocations: 0.8282 MB / 0.963 GB, free: 13.42 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002699/0.7021, allocations: 90.67 kB / 0.9631 GB, free: 13.39 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001462/0.7023, allocations: 137.7 kB / 0.9632 GB, free: 13.39 MB / 0.7325 GB Notification: Performance of SimCode: time 2.7e-07/0.7023, allocations: 0 / 0.9632 GB, free: 13.39 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01998/0.7223, allocations: 11.41 MB / 0.9743 GB, free: 10.1 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001357/0.7224, allocations: 210 kB / 0.9745 GB, free: 9.863 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.684/2.407, allocations: 4 kB / 0.9745 GB, free: 9.859 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/linux/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) Environment - environmentSimulation: