Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildingSystems.Airflow.Multizone.Examples.Orifice,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_Orifice",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Airflow.Multizone.Examples.Orifice,fileNamePrefix="BuildingSystems_BuildingSystems_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.006251/0.006251, allocations: 95.39 kB / 15.73 MB, free: 6.039 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.001574/0.001574, allocations: 198.8 kB / 16.68 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.411/1.411, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002523/0.002523, allocations: 278.6 kB / 290.8 MB, free: 1.926 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.03/1.03, allocations: 169.3 MB / 0.4983 GB, free: 13.82 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003854/0.003854, allocations: 91.84 kB / 0.681 GB, free: 24 kB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1884/0.1923, allocations: 86.98 MB / 0.7659 GB, free: 8.965 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.Orifice): time 0.567/0.7594, allocations: 173.8 MB / 0.9356 GB, free: 5.336 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.004209/0.7636, allocations: 2.303 MB / 0.9379 GB, free: 3.027 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004057/0.764, allocations: 15.88 kB / 0.9379 GB, free: 3.012 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0008151/0.7649, allocations: 222.4 kB / 0.9381 GB, free: 2.793 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.002363/0.7673, allocations: 0.9333 MB / 0.939 GB, free: 1.855 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.002085/0.7694, allocations: 0.8288 MB / 0.9398 GB, free: 1.031 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.001484/0.7709, allocations: 0.9663 MB / 0.9408 GB, free: 64 kB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005752/0.7715, allocations: 331.2 kB / 0.9411 GB, free: 15.74 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008919/0.7724, allocations: 446.4 kB / 0.9415 GB, free: 15.3 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004535/0.7728, allocations: 318.6 kB / 0.9418 GB, free: 14.99 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 7.38e-05/0.7729, allocations: 32 kB / 0.9418 GB, free: 14.96 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002135/0.7751, allocations: 0.9937 MB / 0.9428 GB, free: 13.96 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0001971/0.7753, allocations: 151.5 kB / 0.943 GB, free: 13.81 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.000272/0.7756, allocations: 230.8 kB / 0.9432 GB, free: 13.59 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.00157/0.7771, allocations: 0.9203 MB / 0.9441 GB, free: 12.67 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.7772, allocations: 0 / 0.9441 GB, free: 12.67 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.513e-06/0.7772, allocations: 0 / 0.9441 GB, free: 12.67 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 9.057e-06/0.7772, allocations: 0 / 0.9441 GB, free: 12.67 MB / 0.7012 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.001402/0.7786, allocations: 0.8246 MB / 0.9449 GB, free: 11.79 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 5.338e-05/0.7786, allocations: 12.03 kB / 0.9449 GB, free: 11.78 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.501e-05/0.7787, allocations: 66.53 kB / 0.945 GB, free: 11.71 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001237/0.78, allocations: 179.5 kB / 0.9451 GB, free: 11.53 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006855/0.7807, allocations: 401.7 kB / 0.9455 GB, free: 11.1 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.452e-05/0.7807, allocations: 24.66 kB / 0.9455 GB, free: 11.07 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.427e-05/0.7808, allocations: 28 kB / 0.9456 GB, free: 11.05 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006723/0.7815, allocations: 373.1 kB / 0.9459 GB, free: 10.65 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.717e-05/0.7815, allocations: 0 / 0.9459 GB, free: 10.65 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.114e-05/0.7815, allocations: 16 kB / 0.9459 GB, free: 10.64 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.437e-05/0.7816, allocations: 11.94 kB / 0.9459 GB, free: 10.62 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005308/0.7821, allocations: 262 kB / 0.9462 GB, free: 10.37 MB / 0.7012 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.002003/0.7841, allocations: 1.668 MB / 0.9478 GB, free: 8.566 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004183/0.7845, allocations: 206.5 kB / 0.948 GB, free: 8.355 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002364/0.7848, allocations: 116.8 kB / 0.9481 GB, free: 8.238 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00111/0.7859, allocations: 0.874 MB / 0.949 GB, free: 7.18 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.288e-05/0.786, allocations: 30.56 kB / 0.949 GB, free: 7.141 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=23): time 3.627e-06/0.786, allocations: 112 / 0.949 GB, free: 7.141 MB / 0.7012 GB Notification: Performance of matching and sorting (n=23): time 0.0009562/0.7869, allocations: 370.9 kB / 0.9494 GB, free: 6.773 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.864e-05/0.787, allocations: 51.41 kB / 0.9494 GB, free: 6.711 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005161/0.7875, allocations: 425.9 kB / 0.9498 GB, free: 6.289 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 2.975e-05/0.7875, allocations: 29.64 kB / 0.9499 GB, free: 6.254 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001821/0.7877, allocations: 216.4 kB / 0.9501 GB, free: 6.039 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 8.543e-05/0.7878, allocations: 91.16 kB / 0.9501 GB, free: 5.949 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.904e-05/0.7879, allocations: 49.7 kB / 0.9502 GB, free: 5.895 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001741/0.7881, allocations: 354.7 kB / 0.9505 GB, free: 5.539 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001984/0.7883, allocations: 79.94 kB / 0.9506 GB, free: 5.461 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002326/0.7885, allocations: 122.9 kB / 0.9507 GB, free: 5.332 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004298/0.789, allocations: 221.6 kB / 0.9509 GB, free: 5.105 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/0.789, allocations: 0.6875 kB / 0.9509 GB, free: 5.105 MB / 0.7012 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005585/0.7896, allocations: 285.2 kB / 0.9512 GB, free: 4.82 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.559e-05/0.7896, allocations: 4 kB / 0.9512 GB, free: 4.816 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.7896, allocations: 0 / 0.9512 GB, free: 4.816 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.672e-05/0.7896, allocations: 4 kB / 0.9512 GB, free: 4.812 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002521/0.7899, allocations: 55.91 kB / 0.9513 GB, free: 4.758 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.7899, allocations: 0 / 0.9513 GB, free: 4.758 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002233/0.7901, allocations: 36.31 kB / 0.9513 GB, free: 4.723 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.929e-05/0.7902, allocations: 15.98 kB / 0.9513 GB, free: 4.707 MB / 0.7012 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.0001964/0.7904, allocations: 158.4 kB / 0.9515 GB, free: 4.543 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.935e-05/0.7904, allocations: 47.72 kB / 0.9515 GB, free: 4.496 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006119/0.7911, allocations: 282.8 kB / 0.9518 GB, free: 4.215 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.092e-06/0.7911, allocations: 4 kB / 0.9518 GB, free: 4.211 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.161e-06/0.7911, allocations: 0 / 0.9518 GB, free: 4.211 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.172e-06/0.7911, allocations: 11.88 kB / 0.9518 GB, free: 4.199 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0013/0.7924, allocations: 0.8103 MB / 0.9526 GB, free: 3.316 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.424e-06/0.7924, allocations: 0 / 0.9526 GB, free: 3.316 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002277/0.7927, allocations: 47.91 kB / 0.9526 GB, free: 3.27 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.516e-06/0.7927, allocations: 0 / 0.9526 GB, free: 3.27 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.97e-05/0.7927, allocations: 8 kB / 0.9526 GB, free: 3.262 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.835e-06/0.7927, allocations: 4 kB / 0.9527 GB, free: 3.258 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.631e-06/0.7927, allocations: 7.938 kB / 0.9527 GB, free: 3.25 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000831/0.7935, allocations: 0.5075 MB / 0.9532 GB, free: 2.711 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001684/0.7937, allocations: 148.8 kB / 0.9533 GB, free: 2.547 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.869e-05/0.7938, allocations: 12 kB / 0.9533 GB, free: 2.535 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000266/0.7941, allocations: 21.11 kB / 0.9533 GB, free: 2.516 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.008e-05/0.7941, allocations: 15.92 kB / 0.9533 GB, free: 2.5 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.404e-05/0.7942, allocations: 15.98 kB / 0.9534 GB, free: 2.484 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.000365/0.7945, allocations: 303.1 kB / 0.9536 GB, free: 2.191 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7945, allocations: 0 / 0.9536 GB, free: 2.191 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.000438/0.795, allocations: 115.8 kB / 0.9538 GB, free: 2.078 MB / 0.7012 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.001461/0.7965, allocations: 1.14 MB / 0.9549 GB, free: 0.9062 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.0005157/0.797, allocations: 206.4 kB / 0.9551 GB, free: 0.707 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.797, allocations: 0 / 0.9551 GB, free: 0.707 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0002417/0.7972, allocations: 113.8 kB / 0.9552 GB, free: 0.5977 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00112/0.7984, allocations: 229.3 kB / 0.9554 GB, free: 392 kB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00521/0.8036, allocations: 3.696 MB / 0.959 GB, free: 12.55 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004932/0.8041, allocations: 0.8272 MB / 0.9598 GB, free: 11.7 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0002958/0.8044, allocations: 79.36 kB / 0.9599 GB, free: 11.62 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002134/0.8046, allocations: 139.4 kB / 0.96 GB, free: 11.48 MB / 0.7169 GB Notification: Performance of SimCode: time 5.91e-07/0.8046, allocations: 4 kB / 0.96 GB, free: 11.48 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04056/0.8452, allocations: 12.12 MB / 0.9719 GB, free: 15.61 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.402/9.248, allocations: 11.75 kB / 0.9719 GB, free: 15.61 MB / 0.7325 GB (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.Orifice.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.Orifice.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.Orifice.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.Orifice.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.Orifice_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_Orifice.fmu > BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.Orifice.pipe 2>&1)