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: translateModel(BuildingSystems.Airflow.Multizone.Validation.OneWayFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.OneWayFlow") translateModel(BuildingSystems.Airflow.Multizone.Validation.OneWayFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.OneWayFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008906/0.0008906, allocations: 86.64 kB / 15.06 MB, free: 1.09 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.001022/0.001022, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.441/1.441, allocations: 223.3 MB / 240 MB, free: 5.277 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00172/0.00172, allocations: 282.2 kB / 291.4 MB, free: 1.828 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1/1, allocations: 169.5 MB / 0.5 GB, free: 14.19 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004531/0.0004533, allocations: 11.81 kB / 0.598 GB, free: 28.29 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1804/0.1809, allocations: 88.55 MB / 0.6845 GB, free: 15.43 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Validation.OneWayFlow): time 0.5595/0.7405, allocations: 198.8 MB / 0.8786 GB, free: 6.867 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.02678/0.7673, allocations: 24.56 MB / 0.9026 GB, free: 0.8164 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001845/0.7692, allocations: 31.81 kB / 0.9026 GB, free: 0.7852 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.00214/0.7713, allocations: 0.8278 MB / 0.9034 GB, free: 15.95 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.00639/0.7777, allocations: 2.445 MB / 0.9058 GB, free: 13.5 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.003573/0.7813, allocations: 1.211 MB / 0.907 GB, free: 12.29 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.007229/0.7886, allocations: 4.844 MB / 0.9117 GB, free: 7.434 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002131/0.7907, allocations: 1.141 MB / 0.9128 GB, free: 6.273 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004772/0.7955, allocations: 1.93 MB / 0.9147 GB, free: 4.336 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002661/0.7982, allocations: 1.448 MB / 0.9161 GB, free: 2.883 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0002351/0.7985, allocations: 76 kB / 0.9162 GB, free: 2.809 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003349/0.8018, allocations: 1.076 MB / 0.9172 GB, free: 1.73 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0008178/0.8026, allocations: 0.7984 MB / 0.918 GB, free: 0.9297 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0007979/0.8034, allocations: 452.3 kB / 0.9185 GB, free: 492 kB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.002453/0.8059, allocations: 2.081 MB / 0.9205 GB, free: 14.4 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 7.053e-06/0.8059, allocations: 0 / 0.9205 GB, free: 14.4 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.453e-06/0.8059, allocations: 7.938 kB / 0.9205 GB, free: 14.39 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 2.642e-05/0.806, allocations: 0 / 0.9205 GB, free: 14.39 MB / 0.6387 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.003505/0.8095, allocations: 2.411 MB / 0.9229 GB, free: 11.92 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.695e-05/0.8095, allocations: 12.03 kB / 0.9229 GB, free: 11.91 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001593/0.8111, allocations: 440.4 kB / 0.9233 GB, free: 11.47 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001927/0.8131, allocations: 1.375 MB / 0.9246 GB, free: 10.03 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.143e-05/0.8131, allocations: 94.53 kB / 0.9247 GB, free: 9.934 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000149/0.8133, allocations: 128 kB / 0.9248 GB, free: 9.809 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002162/0.8155, allocations: 1.592 MB / 0.9264 GB, free: 8.074 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.524e-05/0.8155, allocations: 11.84 kB / 0.9264 GB, free: 8.062 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.96e-05/0.8156, allocations: 56 kB / 0.9265 GB, free: 8.008 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.263e-05/0.8157, allocations: 81.97 kB / 0.9265 GB, free: 7.926 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001628/0.8173, allocations: 1.074 MB / 0.9276 GB, free: 6.852 MB / 0.6387 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.007011/0.8244, allocations: 8.083 MB / 0.9355 GB, free: 14.26 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009308/0.8253, allocations: 0.7311 MB / 0.9362 GB, free: 13.48 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004152/0.8257, allocations: 316 kB / 0.9365 GB, free: 13.16 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005238/0.8263, allocations: 0.613 MB / 0.9371 GB, free: 12.41 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.595e-05/0.8263, allocations: 38.56 kB / 0.9371 GB, free: 12.37 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=50): time 4.078e-06/0.8263, allocations: 0 / 0.9371 GB, free: 12.37 MB / 0.6544 GB Notification: Performance of matching and sorting (n=50): time 0.001588/0.8279, allocations: 0.9793 MB / 0.9381 GB, free: 11.38 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.116e-05/0.828, allocations: 166.2 kB / 0.9382 GB, free: 11.18 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003698/0.8317, allocations: 3.084 MB / 0.9413 GB, free: 8.082 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 4.22e-05/0.8318, allocations: 33.7 kB / 0.9413 GB, free: 8.043 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008334/0.8326, allocations: 1.043 MB / 0.9423 GB, free: 6.992 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001531/0.8328, allocations: 181.3 kB / 0.9425 GB, free: 6.812 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.095e-05/0.8328, allocations: 4 kB / 0.9425 GB, free: 6.809 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001203/0.8329, allocations: 326 kB / 0.9428 GB, free: 6.484 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003483/0.8333, allocations: 225 kB / 0.943 GB, free: 6.266 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003931/0.8337, allocations: 323 kB / 0.9433 GB, free: 5.922 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003724/0.8341, allocations: 261.2 kB / 0.9436 GB, free: 5.668 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.8341, allocations: 0 / 0.9436 GB, free: 5.668 MB / 0.6544 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001177/0.8353, allocations: 0.8069 MB / 0.9444 GB, free: 4.852 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.686e-05/0.8353, allocations: 4 kB / 0.9444 GB, free: 4.848 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/0.8353, allocations: 4 kB / 0.9444 GB, free: 4.844 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.503e-05/0.8353, allocations: 4 kB / 0.9444 GB, free: 4.84 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003829/0.8357, allocations: 116.1 kB / 0.9445 GB, free: 4.727 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.101e-05/0.8357, allocations: 8 kB / 0.9445 GB, free: 4.719 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008568/0.8366, allocations: 150.7 kB / 0.9446 GB, free: 4.57 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.112e-05/0.8366, allocations: 27.95 kB / 0.9447 GB, free: 4.543 MB / 0.6544 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006683/0.8373, allocations: 0.5443 MB / 0.9452 GB, free: 3.988 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002858/0.8376, allocations: 221.2 kB / 0.9454 GB, free: 3.77 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001203/0.8388, allocations: 0.8079 MB / 0.9462 GB, free: 2.949 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.707e-06/0.8388, allocations: 8 kB / 0.9462 GB, free: 2.941 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.8388, allocations: 0 / 0.9462 GB, free: 2.941 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.256e-06/0.8389, allocations: 3.984 kB / 0.9462 GB, free: 2.938 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002686/0.8416, allocations: 2.024 MB / 0.9482 GB, free: 0.8359 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.07e-06/0.8416, allocations: 4 kB / 0.9482 GB, free: 0.832 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004088/0.842, allocations: 95.89 kB / 0.9483 GB, free: 0.7383 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.524e-06/0.842, allocations: 4 kB / 0.9483 GB, free: 0.7344 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.565e-05/0.842, allocations: 23.94 kB / 0.9483 GB, free: 0.7109 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.661e-06/0.8421, allocations: 12.12 kB / 0.9483 GB, free: 0.6992 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.8421, allocations: 4 kB / 0.9483 GB, free: 0.6953 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001539/0.8436, allocations: 1.266 MB / 0.9495 GB, free: 15.39 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005984/0.8442, allocations: 394.1 kB / 0.9499 GB, free: 14.99 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002088/0.8444, allocations: 16 kB / 0.9499 GB, free: 14.97 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007147/0.8452, allocations: 99.66 kB / 0.95 GB, free: 14.88 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.365e-05/0.8452, allocations: 36.39 kB / 0.9501 GB, free: 14.84 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.922e-05/0.8453, allocations: 20 kB / 0.9501 GB, free: 14.82 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.002534/0.8478, allocations: 2.203 MB / 0.9522 GB, free: 12.61 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.7e-07/0.8478, allocations: 0 / 0.9522 GB, free: 12.61 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001139/0.849, allocations: 471.1 kB / 0.9527 GB, free: 12.15 MB / 0.67 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001226/0.8502, allocations: 0.5392 MB / 0.9532 GB, free: 11.74 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0008473/0.8511, allocations: 0.5294 MB / 0.9537 GB, free: 11.21 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.8511, allocations: 0 / 0.9537 GB, free: 11.21 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0004183/0.8515, allocations: 299 kB / 0.954 GB, free: 10.92 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003286/0.8548, allocations: 0.8388 MB / 0.9548 GB, free: 10.09 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006385/0.8612, allocations: 4.91 MB / 0.9596 GB, free: 5.121 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001201/0.8624, allocations: 1.639 MB / 0.9612 GB, free: 3.453 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001406/0.8638, allocations: 457.6 kB / 0.9617 GB, free: 3.004 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003158/0.8642, allocations: 143.4 kB / 0.9618 GB, free: 2.863 MB / 0.67 GB Notification: Performance of SimCode: time 6.61e-07/0.8642, allocations: 0 / 0.9618 GB, free: 2.863 MB / 0.67 GB Notification: Performance of Templates: time 0.0504/0.9146, allocations: 29.99 MB / 0.9911 GB, free: 5.262 MB / 0.7012 GB make -j1 -f BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.OneWayFlow.makefile (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 & ./BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.OneWayFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.OneWayFlow.pipe 2>&1)