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.005404/0.005404, allocations: 99.83 kB / 15.73 MB, free: 6.012 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.001102/0.001102, allocations: 193.5 kB / 16.67 MB, free: 5.93 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.249/1.249, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002103/0.002103, allocations: 282.7 kB / 290.8 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8816/0.8816, allocations: 169.3 MB / 0.4983 GB, free: 4.445 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001751/0.001751, allocations: 91.86 kB / 0.681 GB, free: 7.484 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4191/0.4209, allocations: 86.98 MB / 0.7659 GB, free: 3.852 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Validation.OneWayFlow): time 0.6065/1.027, allocations: 218.2 MB / 0.9789 GB, free: 1.82 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.02401/1.051, allocations: 26.49 MB / 1.005 GB, free: 1.492 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001927/1.053, allocations: 32.38 kB / 1.005 GB, free: 1.492 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.002414/1.056, allocations: 1.179 MB / 1.006 GB, free: 1.473 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.007201/1.063, allocations: 3.246 MB / 1.009 GB, free: 1.344 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.003755/1.067, allocations: 1.671 MB / 1.011 GB, free: 1.285 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.00436/1.071, allocations: 3.86 MB / 1.015 GB, free: 1.277 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001893/1.073, allocations: 1.452 MB / 1.016 GB, free: 1.113 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004575/1.078, allocations: 2.333 MB / 1.018 GB, free: 1.09 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002253/1.08, allocations: 1.472 MB / 1.02 GB, free: 1 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0002136/1.08, allocations: 125.5 kB / 1.02 GB, free: 1 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004304/1.085, allocations: 1.827 MB / 1.022 GB, free: 0.9766 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0008012/1.085, allocations: 0.8518 MB / 1.022 GB, free: 0.8672 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.001417/1.087, allocations: 1.178 MB / 1.024 GB, free: 472 kB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.004592/1.091, allocations: 3.051 MB / 1.027 GB, free: 15.9 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/1.091, allocations: 0 / 1.027 GB, free: 15.9 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.004e-06/1.091, allocations: 0.875 kB / 1.027 GB, free: 15.9 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 3.859e-05/1.091, allocations: 0 / 1.027 GB, free: 15.9 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: 343 * Number of variables: 343 Notification: Performance of Generate backend data structure: time 0.00448/1.096, allocations: 2.948 MB / 1.029 GB, free: 14.34 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.532e-05/1.096, allocations: 10.94 kB / 1.029 GB, free: 14.34 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002165/1.096, allocations: 202.3 kB / 1.03 GB, free: 14.3 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001838/1.098, allocations: 467.9 kB / 1.03 GB, free: 14.13 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00353/1.102, allocations: 2.779 MB / 1.033 GB, free: 13.54 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.646e-05/1.102, allocations: 102.1 kB / 1.033 GB, free: 13.54 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001443/1.102, allocations: 124.3 kB / 1.033 GB, free: 13.54 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002145/1.104, allocations: 1.592 MB / 1.035 GB, free: 13.13 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.944e-05/1.104, allocations: 9.062 kB / 1.035 GB, free: 13.13 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.703e-05/1.104, allocations: 58.41 kB / 1.035 GB, free: 13.13 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001177/1.104, allocations: 97.42 kB / 1.035 GB, free: 13.12 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001577/1.106, allocations: 1.057 MB / 1.036 GB, free: 13.11 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.00802/1.114, allocations: 8.465 MB / 1.044 GB, free: 7.809 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009224/1.115, allocations: 0.7291 MB / 1.045 GB, free: 7.676 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003969/1.115, allocations: 309.2 kB / 1.045 GB, free: 7.637 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005344/1.116, allocations: 0.6067 MB / 1.046 GB, free: 6.977 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.514e-05/1.116, allocations: 55.45 kB / 1.046 GB, free: 6.926 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=50): time 2.154e-06/1.116, allocations: 2.656 kB / 1.046 GB, free: 6.926 MB / 0.7325 GB Notification: Performance of matching and sorting (n=50): time 0.001608/1.117, allocations: 0.9831 MB / 1.047 GB, free: 6.75 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.746e-05/1.118, allocations: 159 kB / 1.047 GB, free: 6.562 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004625/1.122, allocations: 4.694 MB / 1.051 GB, free: 5.965 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 6.401e-05/1.122, allocations: 32.48 kB / 1.051 GB, free: 5.93 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008709/1.123, allocations: 1.076 MB / 1.052 GB, free: 4.91 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001567/1.123, allocations: 189.7 kB / 1.053 GB, free: 4.727 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001355/1.123, allocations: 98.2 kB / 1.053 GB, free: 4.625 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001327/1.124, allocations: 329 kB / 1.053 GB, free: 4.301 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003424/1.124, allocations: 217 kB / 1.053 GB, free: 4.09 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004058/1.124, allocations: 322.9 kB / 1.054 GB, free: 3.742 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007409/1.125, allocations: 0.5547 MB / 1.054 GB, free: 3.164 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.47e-06/1.125, allocations: 4 kB / 1.054 GB, free: 3.16 MB / 0.7325 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001232/1.126, allocations: 0.812 MB / 1.055 GB, free: 2.355 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.73e-05/1.126, allocations: 4 kB / 1.055 GB, free: 2.352 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.258e-06/1.126, allocations: 4.109 kB / 1.055 GB, free: 2.348 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.949e-05/1.126, allocations: 7.938 kB / 1.055 GB, free: 2.34 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003914/1.127, allocations: 110.2 kB / 1.055 GB, free: 2.238 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.012e-05/1.127, allocations: 5.562 kB / 1.055 GB, free: 2.234 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008094/1.128, allocations: 99.42 kB / 1.055 GB, free: 2.137 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.9e-05/1.128, allocations: 20 kB / 1.055 GB, free: 2.117 MB / 0.7325 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.0007023/1.128, allocations: 0.5427 MB / 1.056 GB, free: 1.57 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000345/1.129, allocations: 242.3 kB / 1.056 GB, free: 1.332 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001159/1.13, allocations: 0.8071 MB / 1.057 GB, free: 0.5234 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.156e-06/1.13, allocations: 8 kB / 1.057 GB, free: 0.5156 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/1.13, allocations: 0 / 1.057 GB, free: 0.5156 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.935e-06/1.13, allocations: 4 kB / 1.057 GB, free: 0.5117 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002985/1.133, allocations: 2.095 MB / 1.059 GB, free: 14.37 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.078e-06/1.133, allocations: 192 / 1.059 GB, free: 14.37 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004111/1.133, allocations: 99.05 kB / 1.059 GB, free: 14.27 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.466e-06/1.133, allocations: 4 kB / 1.059 GB, free: 14.27 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.654e-05/1.133, allocations: 23.17 kB / 1.059 GB, free: 14.25 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.294e-06/1.133, allocations: 7.938 kB / 1.059 GB, free: 14.24 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/1.133, allocations: 3.938 kB / 1.059 GB, free: 14.24 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001716/1.135, allocations: 1.282 MB / 1.06 GB, free: 12.93 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007812/1.136, allocations: 427.3 kB / 1.061 GB, free: 12.49 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002276/1.136, allocations: 15.94 kB / 1.061 GB, free: 12.48 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006445/1.137, allocations: 23.98 kB / 1.061 GB, free: 12.45 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.206e-05/1.137, allocations: 32.39 kB / 1.061 GB, free: 12.42 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.225e-05/1.137, allocations: 24 kB / 1.061 GB, free: 12.4 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.003638/1.141, allocations: 3.509 MB / 1.064 GB, free: 8.887 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2.61e-07/1.141, allocations: 0 / 1.064 GB, free: 8.887 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.001238/1.142, allocations: 483.1 kB / 1.065 GB, free: 8.414 MB / 0.7481 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.003136/1.145, allocations: 2.264 MB / 1.067 GB, free: 6.262 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0009253/1.146, allocations: 0.5335 MB / 1.067 GB, free: 5.746 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/1.146, allocations: 0.5 kB / 1.067 GB, free: 5.746 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0004169/1.146, allocations: 299 kB / 1.068 GB, free: 5.465 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003623/1.15, allocations: 0.8587 MB / 1.068 GB, free: 4.613 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02416/1.174, allocations: 19.4 MB / 1.087 GB, free: 1.035 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001198/1.175, allocations: 1.636 MB / 1.089 GB, free: 15.37 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.00134/1.177, allocations: 470.1 kB / 1.089 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001037/1.178, allocations: 0.9406 MB / 1.09 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of SimCode: time 7.81e-07/1.178, allocations: 0 / 1.09 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07975/1.258, allocations: 46.69 MB / 1.136 GB, free: 15.96 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.07/13.33, allocations: 15.25 kB / 1.136 GB, free: 15.95 MB / 0.8262 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)