Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.FlowJunction.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Fluid.FixedResistances.Examples.FlowJunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.FlowJunction") translateModel(IBPSA.Fluid.FixedResistances.Examples.FlowJunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.FlowJunction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001045/0.001049, allocations: 117.4 kB / 17.06 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.001013/0.001013, allocations: 192 kB / 17.99 MB, free: 5.098 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.222/1.222, allocations: 222.9 MB / 241.7 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6766/0.6766, allocations: 115.3 MB / 407.1 MB, free: 6.215 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001164/0.001164, allocations: 63.83 kB / 0.5582 GB, free: 32.22 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1246/0.1258, allocations: 76.17 MB / 0.6326 GB, free: 4.492 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FixedResistances.Examples.FlowJunction): time 0.5165/0.6423, allocations: 239.8 MB / 0.8668 GB, free: 12.59 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01086/0.6532, allocations: 7.226 MB / 0.8739 GB, free: 5.359 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001707/0.655, allocations: 51.69 kB / 0.8739 GB, free: 5.309 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001811/0.6568, allocations: 0.6988 MB / 0.8746 GB, free: 4.605 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.004996/0.6618, allocations: 2.061 MB / 0.8766 GB, free: 2.535 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.00436/0.6662, allocations: 2.039 MB / 0.8786 GB, free: 0.5039 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.003941/0.6702, allocations: 3.277 MB / 0.8818 GB, free: 13.22 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001451/0.6716, allocations: 1.131 MB / 0.8829 GB, free: 12.06 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003482/0.6751, allocations: 1.786 MB / 0.8847 GB, free: 10.27 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001502/0.6766, allocations: 0.9758 MB / 0.8856 GB, free: 9.297 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001612/0.6768, allocations: 124 kB / 0.8857 GB, free: 9.176 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004193/0.681, allocations: 2.49 MB / 0.8882 GB, free: 6.68 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0004022/0.6814, allocations: 458.7 kB / 0.8886 GB, free: 6.23 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0007122/0.6821, allocations: 0.7233 MB / 0.8893 GB, free: 5.504 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.003505/0.6857, allocations: 2.68 MB / 0.8919 GB, free: 2.816 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.217e-06/0.6857, allocations: 0 / 0.8919 GB, free: 2.816 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.663e-06/0.6857, allocations: 0 / 0.8919 GB, free: 2.816 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.856e-05/0.6857, allocations: 3.938 kB / 0.8919 GB, free: 2.812 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: 197 * Number of variables: 197 Notification: Performance of Generate backend data structure: time 0.002479/0.6882, allocations: 1.724 MB / 0.8936 GB, free: 1.031 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.526e-05/0.6882, allocations: 8.031 kB / 0.8936 GB, free: 1.023 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002463/0.6907, allocations: 421.9 kB / 0.894 GB, free: 0.6094 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00151/0.6922, allocations: 1.022 MB / 0.895 GB, free: 15.54 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.462e-05/0.6923, allocations: 62 kB / 0.8951 GB, free: 15.48 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001366/0.6924, allocations: 83.91 kB / 0.8952 GB, free: 15.4 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001412/0.6938, allocations: 0.8624 MB / 0.896 GB, free: 14.53 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.506e-05/0.6939, allocations: 4 kB / 0.896 GB, free: 14.53 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.414e-05/0.694, allocations: 31.98 kB / 0.896 GB, free: 14.5 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.724e-05/0.694, allocations: 30 kB / 0.8961 GB, free: 14.46 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001352/0.6954, allocations: 0.812 MB / 0.8968 GB, free: 13.66 MB / 0.6544 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.004222/0.6996, allocations: 3.635 MB / 0.9004 GB, free: 9.727 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001419/0.701, allocations: 1.095 MB / 0.9015 GB, free: 8.512 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005556/0.7016, allocations: 363 kB / 0.9018 GB, free: 8.156 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006624/0.7023, allocations: 416.8 kB / 0.9022 GB, free: 7.676 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.585e-05/0.7023, allocations: 39.12 kB / 0.9022 GB, free: 7.629 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=60): time 2.384e-06/0.7023, allocations: 0 / 0.9022 GB, free: 7.629 MB / 0.6544 GB Notification: Performance of matching and sorting (n=60): time 0.00197/0.7043, allocations: 0.9546 MB / 0.9032 GB, free: 6.672 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.787e-05/0.7043, allocations: 59.97 kB / 0.9032 GB, free: 6.602 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009559/0.7053, allocations: 0.8438 MB / 0.9041 GB, free: 5.734 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 5.432e-05/0.7054, allocations: 41.7 kB / 0.9041 GB, free: 5.688 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003306/0.7057, allocations: 476.1 kB / 0.9046 GB, free: 5.215 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001805/0.7059, allocations: 216.8 kB / 0.9048 GB, free: 5 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001629/0.7061, allocations: 110.2 kB / 0.9049 GB, free: 4.887 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001165/0.7062, allocations: 326 kB / 0.9052 GB, free: 4.562 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004672/0.7066, allocations: 259 kB / 0.9054 GB, free: 4.305 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005573/0.7072, allocations: 367.5 kB / 0.9058 GB, free: 3.91 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009685/0.7082, allocations: 0.5813 MB / 0.9063 GB, free: 3.316 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.7082, allocations: 4 kB / 0.9063 GB, free: 3.312 MB / 0.6544 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001244/0.7095, allocations: 0.7437 MB / 0.9071 GB, free: 2.559 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.602e-05/0.7095, allocations: 8 kB / 0.9071 GB, free: 2.551 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.603e-06/0.7095, allocations: 0 / 0.9071 GB, free: 2.551 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.846e-05/0.7095, allocations: 4 kB / 0.9071 GB, free: 2.547 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005462/0.7101, allocations: 127.9 kB / 0.9072 GB, free: 2.422 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.052e-05/0.7101, allocations: 4 kB / 0.9072 GB, free: 2.418 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006858/0.7108, allocations: 71.39 kB / 0.9073 GB, free: 2.348 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.64e-05/0.7108, allocations: 20 kB / 0.9073 GB, free: 2.328 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007433/0.7116, allocations: 0.4932 MB / 0.9078 GB, free: 1.832 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005341/0.7121, allocations: 365.6 kB / 0.9081 GB, free: 1.441 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009407/0.7131, allocations: 0.582 MB / 0.9087 GB, free: 0.8477 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.443e-06/0.7131, allocations: 4 kB / 0.9087 GB, free: 0.8438 MB / 0.6544 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.001175/0.7143, allocations: 0.7165 MB / 0.9094 GB, free: 120 kB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.065e-05/0.7143, allocations: 11.94 kB / 0.9094 GB, free: 108 kB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.414e-06/0.7143, allocations: 0 / 0.9094 GB, free: 108 kB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.27e-06/0.7143, allocations: 4 kB / 0.9094 GB, free: 104 kB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005293/0.7148, allocations: 123.9 kB / 0.9095 GB, free: 15.98 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.092e-06/0.7149, allocations: 4 kB / 0.9095 GB, free: 15.97 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006526/0.7155, allocations: 72.22 kB / 0.9096 GB, free: 15.91 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.286e-05/0.7156, allocations: 23.98 kB / 0.9096 GB, free: 15.88 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (69): * Single equations (assignments): 69 * 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.000183/0.7157, allocations: 215.6 kB / 0.9098 GB, free: 15.67 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001522/0.7159, allocations: 102.7 kB / 0.9099 GB, free: 15.57 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001351/0.7173, allocations: 0.7394 MB / 0.9107 GB, free: 14.83 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.234e-06/0.7173, allocations: 12 kB / 0.9107 GB, free: 14.82 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.7173, allocations: 0 / 0.9107 GB, free: 14.82 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001149/0.7184, allocations: 0.9034 MB / 0.9115 GB, free: 13.83 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003034/0.7215, allocations: 2.239 MB / 0.9137 GB, free: 11.45 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.083e-06/0.7215, allocations: 7.938 kB / 0.9137 GB, free: 11.44 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006118/0.7221, allocations: 139.8 kB / 0.9139 GB, free: 11.3 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.182e-06/0.7221, allocations: 4.406 kB / 0.9139 GB, free: 11.3 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.339e-05/0.7222, allocations: 23.98 kB / 0.9139 GB, free: 11.27 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.107e-06/0.7222, allocations: 11.94 kB / 0.9139 GB, free: 11.26 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.7222, allocations: 4 kB / 0.9139 GB, free: 11.26 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001768/0.724, allocations: 1.222 MB / 0.9151 GB, free: 9.977 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003142/0.7243, allocations: 263.7 kB / 0.9154 GB, free: 9.699 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001041/0.7244, allocations: 19.98 kB / 0.9154 GB, free: 9.68 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006281/0.7251, allocations: 35.97 kB / 0.9154 GB, free: 9.645 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001047/0.7252, allocations: 56.25 kB / 0.9155 GB, free: 9.59 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.345e-05/0.7252, allocations: 23.98 kB / 0.9155 GB, free: 9.566 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0007162/0.7259, allocations: 0.59 MB / 0.9161 GB, free: 8.965 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7259, allocations: 0 / 0.9161 GB, free: 8.965 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001124/0.7271, allocations: 0.526 MB / 0.9166 GB, free: 8.438 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 6 (spl.vol.dynBal.medium.Xi[1],spl.vol.dynBal.U,spl.vol.dynBal.m,senTem1.T,senTem2.T,senTem3.T) * 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 (60): * Single equations (assignments): 60 * 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.0004847/0.7276, allocations: 245.9 kB / 0.9168 GB, free: 8.195 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001699/0.7293, allocations: 0.9465 MB / 0.9177 GB, free: 7.25 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 4.528e-06/0.7293, allocations: 4 kB / 0.9177 GB, free: 7.246 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0005748/0.7299, allocations: 343.5 kB / 0.9181 GB, free: 6.91 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002375/0.7323, allocations: 0.6002 MB / 0.9187 GB, free: 6.324 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002979/0.7353, allocations: 2.189 MB / 0.9208 GB, free: 4.059 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006585/0.7359, allocations: 1.123 MB / 0.9219 GB, free: 2.906 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002326/0.7362, allocations: 87.42 kB / 0.922 GB, free: 2.82 MB / 0.67 GB Notification: Performance of SimCode: time 4.41e-07/0.7362, allocations: 4 kB / 0.922 GB, free: 2.816 MB / 0.67 GB Notification: Performance of Templates: time 0.02234/0.7585, allocations: 17.04 MB / 0.9386 GB, free: 1.922 MB / 0.6856 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.FlowJunction.makefile (rm -f IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.FlowJunction.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.FlowJunction.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.FlowJunction.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.FlowJunction.sim & ./IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.FlowJunction -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.FlowJunction.pipe 2>&1)