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.005263/0.005263, allocations: 101 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.001295/0.001295, allocations: 192.3 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.401/1.401, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002541/0.002541, allocations: 292.8 kB / 290.8 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.002/1.002, allocations: 169.3 MB / 0.4983 GB, free: 4.441 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002778/0.002778, allocations: 91.86 kB / 0.681 GB, free: 7.449 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3853/0.3881, allocations: 86.98 MB / 0.7659 GB, free: 3.844 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Validation.OneWayFlow): time 0.6059/0.9941, allocations: 218.2 MB / 0.979 GB, free: 1.855 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.02178/1.016, allocations: 26.48 MB / 1.005 GB, free: 1.531 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001817/1.018, allocations: 31.25 kB / 1.005 GB, free: 1.531 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.002295/1.02, allocations: 1.158 MB / 1.006 GB, free: 1.512 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.006588/1.027, allocations: 3.147 MB / 1.009 GB, free: 1.383 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.003309/1.03, allocations: 1.668 MB / 1.011 GB, free: 1.32 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.004019/1.034, allocations: 3.849 MB / 1.014 GB, free: 1.312 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001807/1.036, allocations: 1.449 MB / 1.016 GB, free: 1.148 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004185/1.04, allocations: 2.287 MB / 1.018 GB, free: 1.125 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001841/1.042, allocations: 1.472 MB / 1.02 GB, free: 1.031 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0002084/1.042, allocations: 128 kB / 1.02 GB, free: 1.031 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003685/1.046, allocations: 1.803 MB / 1.021 GB, free: 1.008 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0006126/1.046, allocations: 0.8548 MB / 1.022 GB, free: 0.8984 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.001113/1.048, allocations: 1.17 MB / 1.023 GB, free: 0.4922 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.004225/1.052, allocations: 3.06 MB / 1.026 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/1.052, allocations: 0 / 1.026 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.553e-06/1.052, allocations: 0.9688 kB / 1.026 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 3.559e-05/1.052, allocations: 4.391 kB / 1.026 GB, free: 15.93 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.00418/1.056, allocations: 2.945 MB / 1.029 GB, free: 14.37 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.545e-05/1.056, allocations: 11.88 kB / 1.029 GB, free: 14.37 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001867/1.056, allocations: 201.5 kB / 1.029 GB, free: 14.32 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001739/1.058, allocations: 466.6 kB / 1.03 GB, free: 14.16 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00279/1.061, allocations: 2.777 MB / 1.033 GB, free: 13.57 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.629e-05/1.061, allocations: 92.34 kB / 1.033 GB, free: 13.57 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001283/1.061, allocations: 138.5 kB / 1.033 GB, free: 13.56 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002054/1.063, allocations: 1.584 MB / 1.034 GB, free: 13.16 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.1e-05/1.063, allocations: 15.23 kB / 1.034 GB, free: 13.16 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.336e-05/1.063, allocations: 61.42 kB / 1.034 GB, free: 13.16 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.782e-05/1.063, allocations: 88.88 kB / 1.035 GB, free: 13.15 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001518/1.065, allocations: 1.065 MB / 1.036 GB, free: 13.14 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.007458/1.072, allocations: 8.456 MB / 1.044 GB, free: 7.84 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008833/1.073, allocations: 0.7278 MB / 1.045 GB, free: 7.711 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004016/1.074, allocations: 309.5 kB / 1.045 GB, free: 7.668 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006104/1.074, allocations: 0.6089 MB / 1.045 GB, free: 7.012 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.447e-05/1.074, allocations: 53.83 kB / 1.045 GB, free: 6.957 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=50): time 2.114e-06/1.074, allocations: 3.094 kB / 1.045 GB, free: 6.957 MB / 0.7325 GB Notification: Performance of matching and sorting (n=50): time 0.001521/1.076, allocations: 0.9783 MB / 1.046 GB, free: 6.785 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.807e-05/1.076, allocations: 164.8 kB / 1.047 GB, free: 6.598 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004295/1.08, allocations: 4.689 MB / 1.051 GB, free: 6.109 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 5.374e-05/1.08, allocations: 39.36 kB / 1.051 GB, free: 6.066 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009935/1.081, allocations: 1.077 MB / 1.052 GB, free: 5.133 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001868/1.082, allocations: 187.8 kB / 1.052 GB, free: 4.953 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001665/1.082, allocations: 102.2 kB / 1.053 GB, free: 4.848 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001523/1.082, allocations: 318 kB / 1.053 GB, free: 4.531 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003914/1.082, allocations: 221 kB / 1.053 GB, free: 4.316 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004906/1.083, allocations: 318.9 kB / 1.053 GB, free: 3.973 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008868/1.084, allocations: 0.5586 MB / 1.054 GB, free: 3.391 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.397e-06/1.084, allocations: 0 / 1.054 GB, free: 3.391 MB / 0.7325 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001358/1.085, allocations: 0.812 MB / 1.055 GB, free: 2.586 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.785e-05/1.085, allocations: 4 kB / 1.055 GB, free: 2.582 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.167e-06/1.085, allocations: 4 kB / 1.055 GB, free: 2.578 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.177e-05/1.085, allocations: 8.094 kB / 1.055 GB, free: 2.57 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004277/1.086, allocations: 110.3 kB / 1.055 GB, free: 2.469 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.155e-05/1.086, allocations: 11.09 kB / 1.055 GB, free: 2.461 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007953/1.086, allocations: 99.17 kB / 1.055 GB, free: 2.363 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.82e-05/1.086, allocations: 24 kB / 1.055 GB, free: 2.34 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.0007641/1.087, allocations: 0.5429 MB / 1.055 GB, free: 1.793 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003834/1.088, allocations: 246.3 kB / 1.056 GB, free: 1.551 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001376/1.089, allocations: 0.7938 MB / 1.056 GB, free: 0.7539 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.027e-06/1.089, allocations: 12 kB / 1.057 GB, free: 0.7422 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/1.089, allocations: 0 / 1.057 GB, free: 0.7422 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.998e-06/1.089, allocations: 11.08 kB / 1.057 GB, free: 0.7344 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003093/1.092, allocations: 2.085 MB / 1.059 GB, free: 14.59 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/1.092, allocations: 0 / 1.059 GB, free: 14.59 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004401/1.093, allocations: 102.2 kB / 1.059 GB, free: 14.5 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.254e-06/1.093, allocations: 4 kB / 1.059 GB, free: 14.5 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.628e-05/1.093, allocations: 16 kB / 1.059 GB, free: 14.48 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.438e-06/1.093, allocations: 11.94 kB / 1.059 GB, free: 14.47 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/1.093, allocations: 0 / 1.059 GB, free: 14.47 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001887/1.095, allocations: 1.283 MB / 1.06 GB, free: 13.16 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006616/1.095, allocations: 431.4 kB / 1.06 GB, free: 12.72 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002286/1.095, allocations: 15.92 kB / 1.06 GB, free: 12.7 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006694/1.096, allocations: 23.98 kB / 1.06 GB, free: 12.68 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.112e-05/1.096, allocations: 35.58 kB / 1.06 GB, free: 12.65 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.266e-05/1.096, allocations: 20 kB / 1.06 GB, free: 12.63 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.004304/1.101, allocations: 3.506 MB / 1.064 GB, free: 9.117 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2.3e-07/1.101, allocations: 0 / 1.064 GB, free: 9.117 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.001227/1.102, allocations: 483.1 kB / 1.064 GB, free: 8.645 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.003911/1.106, allocations: 2.271 MB / 1.067 GB, free: 6.492 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001/1.107, allocations: 0.5344 MB / 1.067 GB, free: 5.973 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/1.107, allocations: 0 / 1.067 GB, free: 5.973 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0004736/1.107, allocations: 291 kB / 1.067 GB, free: 5.699 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003615/1.111, allocations: 0.8606 MB / 1.068 GB, free: 4.844 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02695/1.138, allocations: 19.41 MB / 1.087 GB, free: 1.258 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001528/1.139, allocations: 1.636 MB / 1.089 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.001519/1.141, allocations: 466.1 kB / 1.089 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00122/1.142, allocations: 0.9445 MB / 1.09 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of SimCode: time 1.212e-06/1.142, allocations: 0 / 1.09 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09463/1.237, allocations: 46.7 MB / 1.136 GB, free: 196 kB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.44/13.68, allocations: 19.86 kB / 1.136 GB, free: 180 kB / 0.8106 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)