Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/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.Fluid.FixedResistances.Examples.FlowJunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.FlowJunction") translateModel(BuildingSystems.Fluid.FixedResistances.Examples.FlowJunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.008104/0.008104, allocations: 99.83 kB / 15.73 MB, free: 6.043 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.001702/0.001702, allocations: 187.6 kB / 16.67 MB, free: 5.977 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.332/1.332, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002055/0.002055, allocations: 286.6 kB / 290.8 MB, free: 1.922 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9294/0.9294, allocations: 169.3 MB / 0.4983 GB, free: 13.82 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001623/0.001623, allocations: 103.8 kB / 0.6814 GB, free: 15.53 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1747/0.1763, allocations: 86.97 MB / 0.7664 GB, free: 8.477 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FixedResistances.Examples.FlowJunction): time 0.6161/0.7924, allocations: 239.9 MB / 1.001 GB, free: 2.77 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.01187/0.8043, allocations: 7.213 MB / 1.008 GB, free: 11.55 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001662/0.806, allocations: 55.62 kB / 1.008 GB, free: 11.49 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.001881/0.808, allocations: 0.6949 MB / 1.008 GB, free: 10.79 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.005272/0.8133, allocations: 2.067 MB / 1.01 GB, free: 8.719 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.004606/0.8179, allocations: 2.032 MB / 1.012 GB, free: 6.699 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.004252/0.8222, allocations: 3.273 MB / 1.016 GB, free: 3.414 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001544/0.8237, allocations: 1.139 MB / 1.017 GB, free: 2.258 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004213/0.828, allocations: 1.817 MB / 1.018 GB, free: 444 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00167/0.8297, allocations: 0.9698 MB / 1.019 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0001869/0.8299, allocations: 120 kB / 1.02 GB, free: 15.35 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004777/0.8346, allocations: 2.49 MB / 1.022 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0005285/0.8352, allocations: 462.7 kB / 1.022 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0008826/0.8361, allocations: 0.7194 MB / 1.023 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.004166/0.8403, allocations: 2.696 MB / 1.026 GB, free: 8.973 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.8403, allocations: 0 / 1.026 GB, free: 8.973 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.723e-06/0.8403, allocations: 0 / 1.026 GB, free: 8.973 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.627e-05/0.8403, allocations: 0 / 1.026 GB, free: 8.973 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: 197 * Number of variables: 197 Notification: Performance of Generate backend data structure: time 0.002714/0.843, allocations: 1.713 MB / 1.027 GB, free: 7.203 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.221e-05/0.8431, allocations: 12.03 kB / 1.027 GB, free: 7.191 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00247/0.8456, allocations: 418 kB / 1.028 GB, free: 6.781 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00173/0.8473, allocations: 1.03 MB / 1.029 GB, free: 5.707 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.558e-05/0.8474, allocations: 63.92 kB / 1.029 GB, free: 5.648 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001258/0.8475, allocations: 87.94 kB / 1.029 GB, free: 5.562 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001472/0.849, allocations: 0.8663 MB / 1.03 GB, free: 4.688 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.204e-05/0.849, allocations: 0 / 1.03 GB, free: 4.688 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.474e-05/0.8491, allocations: 32 kB / 1.03 GB, free: 4.656 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.339e-05/0.8491, allocations: 26 kB / 1.03 GB, free: 4.629 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001411/0.8505, allocations: 0.8042 MB / 1.031 GB, free: 3.828 MB / 0.7794 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.004499/0.8551, allocations: 3.643 MB / 1.034 GB, free: 15.89 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001436/0.8565, allocations: 1.109 MB / 1.035 GB, free: 14.67 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000583/0.8571, allocations: 371.5 kB / 1.036 GB, free: 14.3 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006687/0.8578, allocations: 408.8 kB / 1.036 GB, free: 13.83 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.679e-05/0.8578, allocations: 43.12 kB / 1.036 GB, free: 13.78 MB / 0.795 GB Notification: Performance of pre-optimization done (n=60): time 2.094e-06/0.8578, allocations: 0 / 1.036 GB, free: 13.78 MB / 0.795 GB Notification: Performance of matching and sorting (n=60): time 0.002037/0.8599, allocations: 0.9507 MB / 1.037 GB, free: 12.83 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.158e-05/0.8599, allocations: 55.97 kB / 1.037 GB, free: 12.76 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009609/0.8609, allocations: 0.8361 MB / 1.038 GB, free: 11.9 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 5.165e-05/0.8609, allocations: 41.64 kB / 1.038 GB, free: 11.86 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003287/0.8613, allocations: 488.1 kB / 1.038 GB, free: 11.37 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001728/0.8615, allocations: 216.8 kB / 1.039 GB, free: 11.16 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001771/0.8616, allocations: 114.2 kB / 1.039 GB, free: 11.04 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001031/0.8618, allocations: 330 kB / 1.039 GB, free: 10.71 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004699/0.8622, allocations: 251 kB / 1.039 GB, free: 10.46 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005612/0.8628, allocations: 371.4 kB / 1.04 GB, free: 10.06 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001016/0.8638, allocations: 0.5852 MB / 1.04 GB, free: 9.465 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.486e-06/0.8638, allocations: 0 / 1.04 GB, free: 9.465 MB / 0.795 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001326/0.8652, allocations: 0.7359 MB / 1.041 GB, free: 8.719 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.716e-05/0.8652, allocations: 8.125 kB / 1.041 GB, free: 8.711 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.328e-06/0.8652, allocations: 4 kB / 1.041 GB, free: 8.707 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.3e-05/0.8652, allocations: 4.875 kB / 1.041 GB, free: 8.703 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005647/0.8658, allocations: 127.8 kB / 1.041 GB, free: 8.578 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.116e-05/0.8658, allocations: 4 kB / 1.041 GB, free: 8.574 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007009/0.8665, allocations: 75.39 kB / 1.041 GB, free: 8.5 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.21e-05/0.8666, allocations: 20 kB / 1.041 GB, free: 8.48 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007942/0.8674, allocations: 0.4893 MB / 1.042 GB, free: 7.988 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005245/0.8679, allocations: 355.5 kB / 1.042 GB, free: 7.609 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009548/0.8689, allocations: 0.589 MB / 1.043 GB, free: 7.008 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.603e-06/0.8689, allocations: 4 kB / 1.043 GB, free: 7.004 MB / 0.795 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.001202/0.8701, allocations: 0.7165 MB / 1.043 GB, free: 6.277 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.174e-05/0.8701, allocations: 7.938 kB / 1.043 GB, free: 6.27 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.8702, allocations: 4.562 kB / 1.043 GB, free: 6.266 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.108e-06/0.8702, allocations: 0 / 1.043 GB, free: 6.266 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005099/0.8707, allocations: 132.1 kB / 1.043 GB, free: 6.137 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.465e-05/0.8707, allocations: 4 kB / 1.043 GB, free: 6.133 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006627/0.8714, allocations: 68.61 kB / 1.043 GB, free: 6.066 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.256e-05/0.8714, allocations: 20 kB / 1.043 GB, free: 6.047 MB / 0.795 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.0001734/0.8716, allocations: 212.8 kB / 1.044 GB, free: 5.832 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001439/0.8718, allocations: 102.7 kB / 1.044 GB, free: 5.73 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001369/0.8731, allocations: 0.7471 MB / 1.044 GB, free: 4.977 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.151e-06/0.8731, allocations: 4 kB / 1.044 GB, free: 4.973 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.8732, allocations: 4 kB / 1.044 GB, free: 4.969 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001134/0.8743, allocations: 0.8995 MB / 1.045 GB, free: 3.98 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003237/0.8775, allocations: 2.24 MB / 1.048 GB, free: 1.605 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.42e-06/0.8776, allocations: 8 kB / 1.048 GB, free: 1.598 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006265/0.8782, allocations: 135.8 kB / 1.048 GB, free: 1.465 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.021e-05/0.8782, allocations: 8 kB / 1.048 GB, free: 1.457 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.599e-05/0.8783, allocations: 16 kB / 1.048 GB, free: 1.441 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.424e-06/0.8783, allocations: 4 kB / 1.048 GB, free: 1.438 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.031e-06/0.8783, allocations: 11.92 kB / 1.048 GB, free: 1.426 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001827/0.8801, allocations: 1.226 MB / 1.049 GB, free: 144 kB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004188/0.8806, allocations: 263.8 kB / 1.049 GB, free: 15.86 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001064/0.8807, allocations: 20 kB / 1.049 GB, free: 15.84 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006384/0.8813, allocations: 39.95 kB / 1.049 GB, free: 15.8 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001147/0.8814, allocations: 52.25 kB / 1.049 GB, free: 15.75 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.662e-05/0.8815, allocations: 24 kB / 1.049 GB, free: 15.73 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0007262/0.8822, allocations: 0.5862 MB / 1.05 GB, free: 15.13 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8822, allocations: 0 / 1.05 GB, free: 15.13 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.00115/0.8834, allocations: 0.5338 MB / 1.05 GB, free: 14.59 MB / 0.8106 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.0004614/0.8839, allocations: 250.4 kB / 1.051 GB, free: 14.35 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.001726/0.8856, allocations: 0.9509 MB / 1.052 GB, free: 13.4 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.407e-06/0.8856, allocations: 0 / 1.052 GB, free: 13.4 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0005771/0.8862, allocations: 334.2 kB / 1.052 GB, free: 13.08 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002537/0.8887, allocations: 0.6012 MB / 1.052 GB, free: 12.48 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002965/0.8917, allocations: 2.146 MB / 1.055 GB, free: 10.27 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006085/0.8923, allocations: 1.12 MB / 1.056 GB, free: 9.117 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0008789/0.8932, allocations: 296 kB / 1.056 GB, free: 8.824 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002157/0.8935, allocations: 83.42 kB / 1.056 GB, free: 8.746 MB / 0.8106 GB Notification: Performance of SimCode: time 6.22e-07/0.8935, allocations: 0 / 1.056 GB, free: 8.746 MB / 0.8106 GB Notification: Performance of Templates: time 0.03291/0.9264, allocations: 20.86 MB / 1.076 GB, free: 4.219 MB / 0.8262 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.FlowJunction.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.FlowJunction.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.FlowJunction.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.FlowJunction.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.FlowJunction.sim & ./BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.FlowJunction -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.FlowJunction.pipe 2>&1)