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.005544/0.005544, allocations: 98.91 kB / 15.73 MB, free: 5.988 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.001378/0.001378, allocations: 191.9 kB / 16.67 MB, free: 5.918 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.248/1.248, allocations: 222.9 MB / 240.4 MB, free: 4.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002/0.002, allocations: 282.5 kB / 290.8 MB, free: 1.941 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9025/0.9025, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001685/0.001686, allocations: 96.47 kB / 0.681 GB, free: 24 kB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1479/0.1496, allocations: 86.98 MB / 0.7659 GB, free: 8.969 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.Orifice): time 0.4595/0.6091, allocations: 173.8 MB / 0.9356 GB, free: 5.242 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.003332/0.6125, allocations: 2.308 MB / 0.9379 GB, free: 2.93 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002667/0.6128, allocations: 11.94 kB / 0.9379 GB, free: 2.918 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0006345/0.6134, allocations: 234.4 kB / 0.9381 GB, free: 2.688 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.001873/0.6153, allocations: 0.9723 MB / 0.9391 GB, free: 1.711 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.001779/0.6171, allocations: 0.834 MB / 0.9399 GB, free: 0.8789 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.0009976/0.6181, allocations: 0.9701 MB / 0.9408 GB, free: 15.91 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000412/0.6186, allocations: 323 kB / 0.9411 GB, free: 15.59 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000577/0.6191, allocations: 470.3 kB / 0.9416 GB, free: 15.13 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003118/0.6195, allocations: 318.6 kB / 0.9419 GB, free: 14.82 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 4.85e-05/0.6195, allocations: 35.94 kB / 0.9419 GB, free: 14.78 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001438/0.621, allocations: 0.9976 MB / 0.9429 GB, free: 13.78 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.000135/0.6211, allocations: 139.6 kB / 0.943 GB, free: 13.64 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0001998/0.6213, allocations: 242.7 kB / 0.9432 GB, free: 13.41 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.00108/0.6224, allocations: 0.9203 MB / 0.9441 GB, free: 12.49 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 5.75e-06/0.6224, allocations: 4 kB / 0.9442 GB, free: 12.48 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.112e-06/0.6224, allocations: 4 kB / 0.9442 GB, free: 12.48 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 6.853e-06/0.6224, allocations: 0 / 0.9442 GB, free: 12.48 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.001086/0.6235, allocations: 0.8169 MB / 0.945 GB, free: 11.61 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.374e-05/0.6236, allocations: 8.031 kB / 0.945 GB, free: 11.61 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.656e-05/0.6236, allocations: 70.53 kB / 0.945 GB, free: 11.53 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00118/0.6248, allocations: 183.5 kB / 0.9452 GB, free: 11.35 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005735/0.6254, allocations: 393.7 kB / 0.9456 GB, free: 10.92 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.126e-05/0.6254, allocations: 25.16 kB / 0.9456 GB, free: 10.9 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.012e-05/0.6255, allocations: 31.98 kB / 0.9456 GB, free: 10.87 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005505/0.6261, allocations: 365.1 kB / 0.946 GB, free: 10.48 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.502e-05/0.6261, allocations: 4 kB / 0.946 GB, free: 10.48 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.18e-05/0.6261, allocations: 16 kB / 0.946 GB, free: 10.46 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.315e-05/0.6262, allocations: 15.94 kB / 0.946 GB, free: 10.45 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000474/0.6266, allocations: 258.6 kB / 0.9463 GB, free: 10.2 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.001626/0.6283, allocations: 1.676 MB / 0.9479 GB, free: 8.383 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003689/0.6286, allocations: 199.3 kB / 0.9481 GB, free: 8.18 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001993/0.6289, allocations: 114.4 kB / 0.9482 GB, free: 8.066 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008842/0.6298, allocations: 0.874 MB / 0.9491 GB, free: 7.008 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.524e-05/0.6298, allocations: 34.56 kB / 0.9491 GB, free: 6.965 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=23): time 2.614e-06/0.6298, allocations: 112 / 0.9491 GB, free: 6.965 MB / 0.7012 GB Notification: Performance of matching and sorting (n=23): time 0.0008268/0.6306, allocations: 370.9 kB / 0.9494 GB, free: 6.598 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.164e-05/0.6307, allocations: 55.41 kB / 0.9495 GB, free: 6.531 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003818/0.6311, allocations: 418 kB / 0.9499 GB, free: 6.117 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 2.491e-05/0.6311, allocations: 29.7 kB / 0.9499 GB, free: 6.082 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001345/0.6312, allocations: 220.4 kB / 0.9501 GB, free: 5.863 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 5.852e-05/0.6313, allocations: 87.22 kB / 0.9502 GB, free: 5.777 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.43e-05/0.6314, allocations: 53.69 kB / 0.9503 GB, free: 5.719 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001151/0.6315, allocations: 354.7 kB / 0.9506 GB, free: 5.363 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001738/0.6317, allocations: 71.95 kB / 0.9507 GB, free: 5.293 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002063/0.6319, allocations: 130.9 kB / 0.9508 GB, free: 5.156 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003703/0.6323, allocations: 217.8 kB / 0.951 GB, free: 4.934 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.6323, allocations: 0 / 0.951 GB, free: 4.934 MB / 0.7012 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004859/0.6328, allocations: 285.1 kB / 0.9513 GB, free: 4.648 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/0.6328, allocations: 9.938 kB / 0.9513 GB, free: 4.641 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.6328, allocations: 0 / 0.9513 GB, free: 4.641 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.302e-05/0.6328, allocations: 4 kB / 0.9513 GB, free: 4.637 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002221/0.633, allocations: 51.91 kB / 0.9513 GB, free: 4.586 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.546e-06/0.6331, allocations: 7.938 kB / 0.9513 GB, free: 4.578 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002048/0.6333, allocations: 37.14 kB / 0.9514 GB, free: 4.543 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.448e-05/0.6333, allocations: 12 kB / 0.9514 GB, free: 4.531 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.0001404/0.6335, allocations: 158.5 kB / 0.9515 GB, free: 4.367 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.042e-05/0.6335, allocations: 51.7 kB / 0.9516 GB, free: 4.316 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005332/0.6341, allocations: 282 kB / 0.9519 GB, free: 4.035 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.508e-06/0.6341, allocations: 4 kB / 0.9519 GB, free: 4.031 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.077e-06/0.6341, allocations: 0 / 0.9519 GB, free: 4.031 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.041e-06/0.6341, allocations: 7.922 kB / 0.9519 GB, free: 4.023 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001089/0.6352, allocations: 0.8075 MB / 0.9527 GB, free: 3.141 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.6352, allocations: 0 / 0.9527 GB, free: 3.141 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002167/0.6354, allocations: 47.91 kB / 0.9527 GB, free: 3.094 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.349e-06/0.6354, allocations: 4 kB / 0.9527 GB, free: 3.09 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.921e-05/0.6355, allocations: 8.188 kB / 0.9527 GB, free: 3.082 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.404e-06/0.6355, allocations: 4 kB / 0.9527 GB, free: 3.078 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.6355, allocations: 4 kB / 0.9527 GB, free: 3.074 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007013/0.6362, allocations: 0.5144 MB / 0.9532 GB, free: 2.531 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001518/0.6364, allocations: 148.8 kB / 0.9534 GB, free: 2.367 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.731e-05/0.6364, allocations: 8 kB / 0.9534 GB, free: 2.359 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002678/0.6367, allocations: 19.92 kB / 0.9534 GB, free: 2.34 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.139e-05/0.6367, allocations: 19.97 kB / 0.9534 GB, free: 2.32 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.853e-05/0.6368, allocations: 12 kB / 0.9534 GB, free: 2.309 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0002761/0.6371, allocations: 303.1 kB / 0.9537 GB, free: 2.016 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6371, allocations: 0 / 0.9537 GB, free: 2.016 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.000407/0.6375, allocations: 115.8 kB / 0.9538 GB, free: 1.902 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.001202/0.6387, allocations: 1.135 MB / 0.9549 GB, free: 0.7344 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.0004478/0.6391, allocations: 214.2 kB / 0.9551 GB, free: 0.5273 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.6392, allocations: 0 / 0.9551 GB, free: 0.5273 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0002043/0.6394, allocations: 111.8 kB / 0.9552 GB, free: 428 kB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001042/0.6404, allocations: 229.1 kB / 0.9555 GB, free: 208 kB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004238/0.6447, allocations: 3.694 MB / 0.9591 GB, free: 12.38 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003129/0.645, allocations: 0.8233 MB / 0.9599 GB, free: 11.52 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0002526/0.6452, allocations: 79.34 kB / 0.96 GB, free: 11.45 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001725/0.6454, allocations: 143.4 kB / 0.9601 GB, free: 11.3 MB / 0.7169 GB Notification: Performance of SimCode: time 5.31e-07/0.6454, allocations: 4 kB / 0.9601 GB, free: 11.3 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03243/0.6779, allocations: 12.14 MB / 0.9719 GB, free: 15.42 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.754/8.432, allocations: 8.594 kB / 0.972 GB, free: 15.41 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)