Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.OneWayFlow.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.Validation.OneWayFlow,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_Validation_OneWayFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Airflow.Multizone.Validation.OneWayFlow,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_Validation_OneWayFlow",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.001065/0.001065, allocations: 108 kB / 15.61 MB, free: 152 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.001052/0.001052, allocations: 193.8 kB / 16.53 MB, free: 6.664 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.312/1.312, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002186/0.002185, allocations: 286.9 kB / 290.7 MB, free: 1.996 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9588/0.9588, allocations: 169.2 MB / 0.4982 GB, free: 13.92 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001685/0.001685, allocations: 102.9 kB / 0.5953 GB, free: 27.75 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1238/0.1255, allocations: 86.98 MB / 0.6803 GB, free: 0.5625 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Validation.OneWayFlow): time 0.4577/0.5832, allocations: 218.2 MB / 0.8933 GB, free: 9.504 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.02777/0.611, allocations: 26.46 MB / 0.9192 GB, free: 2.555 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001464/0.6125, allocations: 35.81 kB / 0.9192 GB, free: 2.52 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.002453/0.615, allocations: 1.166 MB / 0.9204 GB, free: 1.348 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.006551/0.6216, allocations: 3.136 MB / 0.9234 GB, free: 14.2 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.003562/0.6252, allocations: 1.645 MB / 0.925 GB, free: 12.56 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.004054/0.6292, allocations: 3.853 MB / 0.9288 GB, free: 8.699 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001998/0.6312, allocations: 1.455 MB / 0.9302 GB, free: 7.215 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003835/0.6351, allocations: 2.28 MB / 0.9324 GB, free: 4.926 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001947/0.637, allocations: 1.457 MB / 0.9339 GB, free: 3.465 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0003172/0.6374, allocations: 132 kB / 0.934 GB, free: 3.336 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003379/0.6408, allocations: 1.8 MB / 0.9357 GB, free: 1.531 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0008471/0.6416, allocations: 0.8606 MB / 0.9366 GB, free: 0.668 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.001602/0.6432, allocations: 1.169 MB / 0.9377 GB, free: 15.49 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.003749/0.647, allocations: 2.994 MB / 0.9406 GB, free: 12.49 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.107e-06/0.647, allocations: 0 / 0.9406 GB, free: 12.49 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.233e-06/0.647, allocations: 4 kB / 0.9406 GB, free: 12.48 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 8.315e-05/0.6471, allocations: 0 / 0.9406 GB, free: 12.48 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 343 * Number of variables: 343 Notification: Performance of Generate backend data structure: time 0.00462/0.6517, allocations: 2.862 MB / 0.9434 GB, free: 9.559 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.726e-05/0.6518, allocations: 12.03 kB / 0.9435 GB, free: 9.547 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002576/0.652, allocations: 202.5 kB / 0.9436 GB, free: 9.34 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001726/0.6538, allocations: 440.2 kB / 0.9441 GB, free: 8.906 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003152/0.6569, allocations: 2.741 MB / 0.9467 GB, free: 6.094 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.146e-05/0.657, allocations: 94.53 kB / 0.9468 GB, free: 6 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001544/0.6572, allocations: 124 kB / 0.947 GB, free: 5.879 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002117/0.6593, allocations: 1.6 MB / 0.9485 GB, free: 4.137 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.945e-05/0.6594, allocations: 11.84 kB / 0.9485 GB, free: 4.125 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.15e-05/0.6595, allocations: 56 kB / 0.9486 GB, free: 4.07 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.756e-05/0.6596, allocations: 85.95 kB / 0.9487 GB, free: 3.988 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00164/0.6612, allocations: 1.069 MB / 0.9497 GB, free: 2.918 MB / 0.6544 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.007084/0.6683, allocations: 8.495 MB / 0.958 GB, free: 9.922 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009384/0.6693, allocations: 0.7233 MB / 0.9587 GB, free: 9.152 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004158/0.6697, allocations: 308.1 kB / 0.959 GB, free: 8.836 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004914/0.6702, allocations: 0.613 MB / 0.9596 GB, free: 8.094 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.664e-05/0.6702, allocations: 38.56 kB / 0.9596 GB, free: 8.047 MB / 0.67 GB Notification: Performance of pre-optimization done (n=50): time 1.773e-06/0.6702, allocations: 0 / 0.9596 GB, free: 8.047 MB / 0.67 GB Notification: Performance of matching and sorting (n=50): time 0.001578/0.6718, allocations: 0.9866 MB / 0.9606 GB, free: 7.051 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.539e-05/0.6719, allocations: 162.2 kB / 0.9608 GB, free: 6.855 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004826/0.6767, allocations: 4.694 MB / 0.9653 GB, free: 2.152 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 3.364e-05/0.6768, allocations: 37.7 kB / 0.9654 GB, free: 2.109 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007912/0.6776, allocations: 1.059 MB / 0.9664 GB, free: 1.043 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001255/0.6777, allocations: 185.3 kB / 0.9666 GB, free: 0.8594 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001316/0.6778, allocations: 94.25 kB / 0.9667 GB, free: 0.7617 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 9.953e-05/0.6779, allocations: 326 kB / 0.967 GB, free: 448 kB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003465/0.6783, allocations: 213 kB / 0.9672 GB, free: 232 kB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004215/0.6787, allocations: 327.7 kB / 0.9675 GB, free: 15.88 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007674/0.6795, allocations: 0.5532 MB / 0.968 GB, free: 15.29 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/0.6795, allocations: 0 / 0.968 GB, free: 15.29 MB / 0.6856 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001171/0.6807, allocations: 0.8068 MB / 0.9688 GB, free: 14.48 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.478e-05/0.6807, allocations: 5.719 kB / 0.9688 GB, free: 14.47 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.103e-06/0.6807, allocations: 4 kB / 0.9688 GB, free: 14.47 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.594e-05/0.6807, allocations: 7.938 kB / 0.9688 GB, free: 14.46 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003835/0.6811, allocations: 99.89 kB / 0.9689 GB, free: 14.36 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.28e-05/0.6812, allocations: 15.92 kB / 0.969 GB, free: 14.35 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006986/0.6819, allocations: 91.06 kB / 0.969 GB, free: 14.26 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.193e-05/0.6819, allocations: 31.98 kB / 0.9691 GB, free: 14.23 MB / 0.6856 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (58): * Single equations (assignments): 58 * 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.0006007/0.6825, allocations: 0.534 MB / 0.9696 GB, free: 13.68 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003369/0.6829, allocations: 229.1 kB / 0.9698 GB, free: 13.46 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001181/0.684, allocations: 0.8094 MB / 0.9706 GB, free: 12.64 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.506e-06/0.6841, allocations: 12 kB / 0.9706 GB, free: 12.63 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.96e-06/0.6841, allocations: 0 / 0.9706 GB, free: 12.63 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.635e-06/0.6841, allocations: 3.984 kB / 0.9706 GB, free: 12.63 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002523/0.6866, allocations: 2.092 MB / 0.9727 GB, free: 10.46 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.329e-06/0.6866, allocations: 7.938 kB / 0.9727 GB, free: 10.45 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004218/0.6871, allocations: 95.89 kB / 0.9728 GB, free: 10.36 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.181e-06/0.6871, allocations: 4 kB / 0.9728 GB, free: 10.36 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.407e-05/0.6871, allocations: 12 kB / 0.9728 GB, free: 10.34 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.372e-06/0.6871, allocations: 11.92 kB / 0.9728 GB, free: 10.33 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.826e-06/0.6871, allocations: 3.938 kB / 0.9728 GB, free: 10.33 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001601/0.6887, allocations: 1.267 MB / 0.974 GB, free: 9.023 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005659/0.6893, allocations: 429.9 kB / 0.9744 GB, free: 8.582 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002413/0.6896, allocations: 15.98 kB / 0.9745 GB, free: 8.566 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006531/0.6902, allocations: 12 kB / 0.9745 GB, free: 8.555 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.889e-05/0.6903, allocations: 48.27 kB / 0.9745 GB, free: 8.508 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.996e-05/0.6904, allocations: 15.98 kB / 0.9745 GB, free: 8.492 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.003492/0.6939, allocations: 3.51 MB / 0.978 GB, free: 4.977 MB / 0.6856 GB Notification: Performance of sort global known variables: time 2e-07/0.6939, allocations: 0 / 0.978 GB, free: 4.977 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0009513/0.6948, allocations: 479 kB / 0.9784 GB, free: 4.508 MB / 0.6856 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 8 (ela.mExc,ori.mExc,pow_1dat.mExc,pow_2dat.mExc,pow_m_flow.mExc,pow_V_flow.mExc,tabDat_m_flow.mExc,tabDat_V_flow.mExc) * 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 (53): * Single equations (assignments): 53 * 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.002902/0.6977, allocations: 2.261 MB / 0.9806 GB, free: 2.34 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0009867/0.6987, allocations: 0.6038 MB / 0.9812 GB, free: 1.734 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.6987, allocations: 0 / 0.9812 GB, free: 1.734 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0004131/0.6992, allocations: 294.3 kB / 0.9815 GB, free: 1.445 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003376/0.7026, allocations: 0.8682 MB / 0.9823 GB, free: 0.582 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02337/0.7259, allocations: 21.39 MB / 1.003 GB, free: 9.941 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001214/0.7272, allocations: 1.632 MB / 1.005 GB, free: 8.277 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001277/0.7285, allocations: 478 kB / 1.005 GB, free: 7.809 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009701/0.7294, allocations: 0.9367 MB / 1.006 GB, free: 6.875 MB / 0.7169 GB Notification: Performance of SimCode: time 5.41e-07/0.7295, allocations: 0 / 1.006 GB, free: 6.875 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07722/0.8067, allocations: 48.82 MB / 1.054 GB, free: 6.625 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.214/9.021, allocations: 11.88 kB / 1.054 GB, free: 6.613 MB / 0.7637 GB (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.OneWayFlow.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.OneWayFlow.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.OneWayFlow.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.OneWayFlow.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.OneWayFlow_res.csv --start-time 0 --stop-time 500 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1 BuildingSystems_BuildingSystems_Airflow_Multizone_Validation_OneWayFlow.fmu > BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.OneWayFlow.pipe 2>&1)