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.007296/0.007296, allocations: 105.4 kB / 15.74 MB, free: 6.008 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.001668/0.001668, allocations: 199.9 kB / 16.68 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.455/1.455, allocations: 222.9 MB / 240.4 MB, free: 4.145 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002672/0.002672, allocations: 278.5 kB / 290.8 MB, free: 1.746 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.024/1.024, allocations: 169.3 MB / 0.4983 GB, free: 13.79 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001722/0.001722, allocations: 99.84 kB / 0.6814 GB, free: 15.5 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2411/0.2428, allocations: 86.98 MB / 0.7664 GB, free: 8.445 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Validation.OneWayFlow): time 0.7222/0.9651, allocations: 218.2 MB / 0.9794 GB, free: 8.453 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.03509/1, allocations: 26.48 MB / 1.005 GB, free: 13.89 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00286/1.003, allocations: 31.81 kB / 1.005 GB, free: 13.86 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.003882/1.007, allocations: 1.181 MB / 1.006 GB, free: 12.68 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.01082/1.018, allocations: 3.253 MB / 1.01 GB, free: 9.414 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.005653/1.024, allocations: 1.669 MB / 1.011 GB, free: 7.75 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.007567/1.031, allocations: 3.863 MB / 1.015 GB, free: 3.879 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002707/1.034, allocations: 1.444 MB / 1.016 GB, free: 2.41 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006447/1.04, allocations: 2.339 MB / 1.019 GB, free: 64 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003242/1.044, allocations: 1.465 MB / 1.02 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0004504/1.044, allocations: 128 kB / 1.02 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005287/1.049, allocations: 1.828 MB / 1.022 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.001036/1.051, allocations: 0.849 MB / 1.023 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.002104/1.053, allocations: 1.138 MB / 1.024 GB, free: 10.64 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.006263/1.059, allocations: 2.97 MB / 1.027 GB, free: 7.664 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 8.977e-06/1.059, allocations: 4 kB / 1.027 GB, free: 7.66 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.645e-06/1.059, allocations: 0 / 1.027 GB, free: 7.66 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.974e-05/1.059, allocations: 0 / 1.027 GB, free: 7.66 MB / 0.7794 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.00512/1.064, allocations: 2.783 MB / 1.03 GB, free: 4.812 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 6.117e-05/1.064, allocations: 8.031 kB / 1.03 GB, free: 4.805 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001891/1.066, allocations: 432.4 kB / 1.03 GB, free: 4.379 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002343/1.068, allocations: 1.494 MB / 1.032 GB, free: 2.812 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.291e-05/1.069, allocations: 94.53 kB / 1.032 GB, free: 2.719 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001638/1.069, allocations: 132 kB / 1.032 GB, free: 2.59 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002547/1.071, allocations: 1.6 MB / 1.033 GB, free: 0.8477 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.537e-05/1.071, allocations: 11.92 kB / 1.033 GB, free: 0.8359 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001067/1.071, allocations: 52 kB / 1.033 GB, free: 0.7852 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001109/1.072, allocations: 85.97 kB / 1.033 GB, free: 0.6992 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001793/1.073, allocations: 1.061 MB / 1.034 GB, free: 15.64 MB / 0.795 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.01018/1.084, allocations: 8.102 MB / 1.042 GB, free: 7.027 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001115/1.085, allocations: 0.7155 MB / 1.043 GB, free: 6.266 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004772/1.085, allocations: 312.1 kB / 1.043 GB, free: 5.945 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007417/1.086, allocations: 0.6055 MB / 1.044 GB, free: 5.211 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.266e-05/1.086, allocations: 46.45 kB / 1.044 GB, free: 5.156 MB / 0.795 GB Notification: Performance of pre-optimization done (n=50): time 3.978e-06/1.086, allocations: 112 / 1.044 GB, free: 5.156 MB / 0.795 GB Notification: Performance of matching and sorting (n=50): time 0.001932/1.088, allocations: 0.9752 MB / 1.045 GB, free: 4.172 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001209/1.088, allocations: 162.2 kB / 1.045 GB, free: 3.977 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004471/1.093, allocations: 3.096 MB / 1.048 GB, free: 0.8672 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 7.982e-05/1.093, allocations: 37.7 kB / 1.048 GB, free: 0.8242 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008981/1.094, allocations: 1.035 MB / 1.049 GB, free: 15.78 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002236/1.094, allocations: 185.2 kB / 1.049 GB, free: 15.6 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001782/1.094, allocations: 94.25 kB / 1.049 GB, free: 15.5 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001665/1.094, allocations: 330 kB / 1.05 GB, free: 15.17 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003629/1.095, allocations: 213 kB / 1.05 GB, free: 14.96 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004896/1.095, allocations: 326.8 kB / 1.05 GB, free: 14.61 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001098/1.096, allocations: 0.5532 MB / 1.051 GB, free: 14.03 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.538e-06/1.096, allocations: 4 kB / 1.051 GB, free: 14.02 MB / 0.8106 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.00174/1.098, allocations: 0.7916 MB / 1.052 GB, free: 13.22 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.338e-05/1.098, allocations: 6.188 kB / 1.052 GB, free: 13.22 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.115e-05/1.098, allocations: 4 kB / 1.052 GB, free: 13.21 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.439e-05/1.098, allocations: 7.938 kB / 1.052 GB, free: 13.21 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004213/1.098, allocations: 111.8 kB / 1.052 GB, free: 13.1 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.741e-05/1.098, allocations: 4 kB / 1.052 GB, free: 13.09 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009173/1.099, allocations: 86.95 kB / 1.052 GB, free: 13.01 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.536e-05/1.099, allocations: 20 kB / 1.052 GB, free: 12.99 MB / 0.8106 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.0009209/1.1, allocations: 0.5477 MB / 1.052 GB, free: 12.43 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004242/1.101, allocations: 229 kB / 1.053 GB, free: 12.21 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001347/1.102, allocations: 0.7929 MB / 1.053 GB, free: 11.41 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.897e-06/1.102, allocations: 8 kB / 1.053 GB, free: 11.4 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.702e-06/1.102, allocations: 96 / 1.053 GB, free: 11.4 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.053e-05/1.102, allocations: 7.984 kB / 1.053 GB, free: 11.39 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003222/1.105, allocations: 2.024 MB / 1.055 GB, free: 9.289 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.889e-06/1.105, allocations: 0 / 1.055 GB, free: 9.289 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00046/1.106, allocations: 95.89 kB / 1.055 GB, free: 9.195 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.162e-05/1.106, allocations: 7.938 kB / 1.055 GB, free: 9.188 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.99e-05/1.106, allocations: 20.19 kB / 1.055 GB, free: 9.168 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.094e-05/1.106, allocations: 7.938 kB / 1.056 GB, free: 9.16 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/1.106, allocations: 0 / 1.056 GB, free: 9.16 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001929/1.108, allocations: 1.268 MB / 1.057 GB, free: 7.855 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008354/1.109, allocations: 394 kB / 1.057 GB, free: 7.449 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002162/1.109, allocations: 12 kB / 1.057 GB, free: 7.438 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006682/1.11, allocations: 19.98 kB / 1.057 GB, free: 7.418 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001114/1.11, allocations: 48.33 kB / 1.057 GB, free: 7.371 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.91e-05/1.11, allocations: 12 kB / 1.057 GB, free: 7.359 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.003392/1.113, allocations: 2.219 MB / 1.059 GB, free: 5.133 MB / 0.8106 GB Notification: Performance of sort global known variables: time 3.81e-07/1.113, allocations: 0 / 1.059 GB, free: 5.133 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.001499/1.115, allocations: 467.1 kB / 1.06 GB, free: 4.676 MB / 0.8106 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.001557/1.116, allocations: 0.5318 MB / 1.06 GB, free: 4.273 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.001199/1.118, allocations: 0.5336 MB / 1.061 GB, free: 3.738 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/1.118, allocations: 0 / 1.061 GB, free: 3.738 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0005135/1.118, allocations: 290.3 kB / 1.061 GB, free: 3.453 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003692/1.122, allocations: 0.8627 MB / 1.062 GB, free: 2.594 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007499/1.129, allocations: 4.199 MB / 1.066 GB, free: 14.34 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001445/1.131, allocations: 1.632 MB / 1.068 GB, free: 12.67 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.001696/1.133, allocations: 449.7 kB / 1.068 GB, free: 12.23 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004236/1.133, allocations: 143.4 kB / 1.068 GB, free: 12.09 MB / 0.8262 GB Notification: Performance of SimCode: time 1.633e-06/1.133, allocations: 0 / 1.068 GB, free: 12.09 MB / 0.8262 GB Notification: Performance of Templates: time 0.5357/1.669, allocations: 30.19 MB / 1.098 GB, free: 291.4 MB / 0.8419 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)