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.004251/0.004252, allocations: 100.9 kB / 15.73 MB, free: 6.055 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.001201/0.001201, allocations: 192.8 kB / 16.67 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.309/1.309, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002411/0.002411, allocations: 293.2 kB / 290.8 MB, free: 14.43 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.135/1.135, allocations: 178.5 MB / 0.5074 GB, free: 12.68 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002538/0.002538, allocations: 99.84 kB / 0.6943 GB, free: 15.18 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3878/0.3903, allocations: 89.13 MB / 0.7813 GB, free: 1.145 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Validation.OneWayFlow): time 0.6291/1.019, allocations: 218.2 MB / 0.9944 GB, free: 1.984 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.02455/1.044, allocations: 26.47 MB / 1.02 GB, free: 1.812 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001716/1.046, allocations: 32.62 kB / 1.02 GB, free: 1.812 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.002291/1.048, allocations: 1.155 MB / 1.021 GB, free: 1.793 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.006943/1.055, allocations: 3.135 MB / 1.024 GB, free: 1.668 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.003672/1.059, allocations: 1.661 MB / 1.026 GB, free: 1.617 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.004795/1.064, allocations: 3.852 MB / 1.03 GB, free: 1.609 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002037/1.066, allocations: 1.446 MB / 1.031 GB, free: 1.453 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004249/1.07, allocations: 2.29 MB / 1.033 GB, free: 1.43 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001844/1.072, allocations: 1.47 MB / 1.035 GB, free: 1.426 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0001899/1.072, allocations: 124.9 kB / 1.035 GB, free: 1.426 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003381/1.075, allocations: 1.786 MB / 1.037 GB, free: 1.402 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0005749/1.076, allocations: 0.849 MB / 1.038 GB, free: 1.395 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.001009/1.077, allocations: 1.177 MB / 1.039 GB, free: 1.156 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.003368/1.08, allocations: 3.026 MB / 1.042 GB, free: 0.5977 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/1.08, allocations: 0.8125 kB / 1.042 GB, free: 0.5977 MB / 0.7481 GB Notification: Performance of FrontEnd: time 2.064e-06/1.08, allocations: 0 / 1.042 GB, free: 0.5977 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 3.35e-05/1.08, allocations: 4.812 kB / 1.042 GB, free: 0.5938 MB / 0.7481 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.003808/1.084, allocations: 2.951 MB / 1.045 GB, free: 15.04 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.592e-05/1.084, allocations: 8.125 kB / 1.045 GB, free: 15.04 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001652/1.084, allocations: 205.7 kB / 1.045 GB, free: 15 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001554/1.086, allocations: 455.1 kB / 1.045 GB, free: 14.84 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002612/1.089, allocations: 2.777 MB / 1.048 GB, free: 14.25 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.1e-05/1.089, allocations: 96.09 kB / 1.048 GB, free: 14.25 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001292/1.089, allocations: 131.7 kB / 1.048 GB, free: 14.25 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001856/1.091, allocations: 1.6 MB / 1.05 GB, free: 13.86 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.604e-05/1.091, allocations: 5.344 kB / 1.05 GB, free: 13.86 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.021e-05/1.091, allocations: 53.56 kB / 1.05 GB, free: 13.86 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.26e-05/1.091, allocations: 97.14 kB / 1.05 GB, free: 13.86 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001408/1.092, allocations: 1.059 MB / 1.051 GB, free: 13.85 MB / 0.7637 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.006792/1.099, allocations: 8.468 MB / 1.059 GB, free: 8.582 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008429/1.1, allocations: 0.724 MB / 1.06 GB, free: 8.457 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003986/1.1, allocations: 319.1 kB / 1.06 GB, free: 8.41 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005349/1.101, allocations: 0.6069 MB / 1.061 GB, free: 7.754 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.439e-05/1.101, allocations: 46.72 kB / 1.061 GB, free: 7.711 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=50): time 2.815e-06/1.101, allocations: 0.9062 kB / 1.061 GB, free: 7.711 MB / 0.7637 GB Notification: Performance of matching and sorting (n=50): time 0.001513/1.103, allocations: 0.9853 MB / 1.062 GB, free: 7.535 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.429e-05/1.103, allocations: 164.4 kB / 1.062 GB, free: 7.348 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004231/1.107, allocations: 4.694 MB / 1.067 GB, free: 7.129 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 4.942e-05/1.107, allocations: 35.98 kB / 1.067 GB, free: 7.098 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006706/1.108, allocations: 1.074 MB / 1.068 GB, free: 6.883 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001471/1.108, allocations: 189.7 kB / 1.068 GB, free: 6.758 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001279/1.108, allocations: 97.86 kB / 1.068 GB, free: 6.734 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001261/1.108, allocations: 324.4 kB / 1.068 GB, free: 6.43 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003003/1.108, allocations: 215.4 kB / 1.068 GB, free: 6.43 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003654/1.109, allocations: 324.2 kB / 1.069 GB, free: 6.34 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006729/1.109, allocations: 0.563 MB / 1.069 GB, free: 6.238 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/1.109, allocations: 2.844 kB / 1.069 GB, free: 6.238 MB / 0.7637 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001076/1.11, allocations: 0.8091 MB / 1.07 GB, free: 6.07 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/1.11, allocations: 5.969 kB / 1.07 GB, free: 6.07 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.058e-05/1.11, allocations: 6.625 kB / 1.07 GB, free: 6.066 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.209e-05/1.111, allocations: 6.094 kB / 1.07 GB, free: 6.066 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003584/1.111, allocations: 106.1 kB / 1.07 GB, free: 6.066 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.776e-06/1.111, allocations: 6.156 kB / 1.07 GB, free: 6.066 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007638/1.112, allocations: 98.28 kB / 1.07 GB, free: 6.008 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.601e-05/1.112, allocations: 22.69 kB / 1.07 GB, free: 6.004 MB / 0.7637 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.0005906/1.112, allocations: 0.5378 MB / 1.071 GB, free: 5.891 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003225/1.113, allocations: 246.6 kB / 1.071 GB, free: 5.758 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00105/1.114, allocations: 0.8065 MB / 1.072 GB, free: 5.672 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.552e-06/1.114, allocations: 5.969 kB / 1.072 GB, free: 5.672 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/1.114, allocations: 2.625 kB / 1.072 GB, free: 5.672 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.605e-06/1.114, allocations: 3.703 kB / 1.072 GB, free: 5.672 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002401/1.116, allocations: 2.091 MB / 1.074 GB, free: 5.055 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.477e-06/1.116, allocations: 1.906 kB / 1.074 GB, free: 5.055 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003716/1.117, allocations: 103 kB / 1.074 GB, free: 5.051 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.691e-06/1.117, allocations: 5.562 kB / 1.074 GB, free: 5.051 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.983e-05/1.117, allocations: 12.88 kB / 1.074 GB, free: 5.051 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.919e-06/1.117, allocations: 4.75 kB / 1.074 GB, free: 5.051 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.285e-06/1.117, allocations: 2.438 kB / 1.074 GB, free: 5.051 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001399/1.118, allocations: 1.281 MB / 1.075 GB, free: 4.715 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005351/1.119, allocations: 431 kB / 1.076 GB, free: 4.484 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002079/1.119, allocations: 12.34 kB / 1.076 GB, free: 4.484 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005906/1.119, allocations: 23.03 kB / 1.076 GB, free: 4.48 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.726e-05/1.119, allocations: 47.22 kB / 1.076 GB, free: 4.473 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.491e-05/1.119, allocations: 14.88 kB / 1.076 GB, free: 4.473 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.002865/1.122, allocations: 3.511 MB / 1.079 GB, free: 4.328 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.6e-07/1.122, allocations: 0 / 1.079 GB, free: 4.328 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.001/1.123, allocations: 476 kB / 1.08 GB, free: 4.27 MB / 0.7637 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.003172/1.127, allocations: 2.27 MB / 1.082 GB, free: 3.277 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.0007633/1.127, allocations: 0.5396 MB / 1.082 GB, free: 3.266 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/1.127, allocations: 0.5 kB / 1.082 GB, free: 3.266 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0003734/1.128, allocations: 298 kB / 1.083 GB, free: 3.254 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003273/1.131, allocations: 0.8589 MB / 1.084 GB, free: 2.785 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02321/1.154, allocations: 19.4 MB / 1.102 GB, free: 324 kB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001282/1.156, allocations: 1.634 MB / 1.104 GB, free: 14.65 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.001347/1.157, allocations: 474.1 kB / 1.105 GB, free: 14.18 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001094/1.158, allocations: 0.9445 MB / 1.105 GB, free: 13.24 MB / 0.795 GB Notification: Performance of SimCode: time 1.082e-06/1.158, allocations: 0 / 1.105 GB, free: 13.24 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08715/1.245, allocations: 46.58 MB / 1.151 GB, free: 15.34 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.47/13.72, allocations: 10.16 kB / 1.151 GB, free: 15.34 MB / 0.8419 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)