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.001149/0.001149, allocations: 96.27 kB / 15.69 MB, free: 480 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001304/0.001304, allocations: 178.2 kB / 16.57 MB, free: 6.855 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.483/1.483, allocations: 223.2 MB / 240.5 MB, free: 5.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6809/0.6809, allocations: 113.8 MB / 405.4 MB, free: 4.551 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004956/0.0004957, allocations: 8.625 kB / 493 MB, free: 8.555 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2188/0.2193, allocations: 77.16 MB / 0.5568 GB, free: 11.59 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FixedResistances.Examples.FlowJunction): time 0.6537/0.873, allocations: 196.5 MB / 0.7488 GB, free: 5.242 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01245/0.8855, allocations: 7.256 MB / 0.7559 GB, free: 13.98 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002011/0.8876, allocations: 47.69 kB / 0.7559 GB, free: 13.93 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002624/0.8902, allocations: 0.6649 MB / 0.7565 GB, free: 13.27 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.007757/0.898, allocations: 1.937 MB / 0.7584 GB, free: 11.32 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.006158/0.9042, allocations: 1.611 MB / 0.76 GB, free: 9.738 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.005114/0.9093, allocations: 1.874 MB / 0.7618 GB, free: 7.859 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001624/0.911, allocations: 0.8381 MB / 0.7627 GB, free: 7.008 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004457/0.9155, allocations: 1.414 MB / 0.764 GB, free: 5.59 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00147/0.9169, allocations: 0.6224 MB / 0.7646 GB, free: 4.965 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.000131/0.9171, allocations: 52 kB / 0.7647 GB, free: 4.914 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003179/0.9203, allocations: 1.053 MB / 0.7657 GB, free: 3.859 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.000384/0.9207, allocations: 358.9 kB / 0.7661 GB, free: 3.508 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.000442/0.9211, allocations: 285.1 kB / 0.7663 GB, free: 3.223 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.00218/0.9233, allocations: 1.613 MB / 0.7679 GB, free: 1.605 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.9233, allocations: 0 / 0.7679 GB, free: 1.605 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.906e-06/0.9233, allocations: 0 / 0.7679 GB, free: 1.605 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.59e-05/0.9234, allocations: 4 kB / 0.7679 GB, free: 1.602 MB / 0.5762 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.002606/0.926, allocations: 1.429 MB / 0.7693 GB, free: 124 kB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.595e-05/0.926, allocations: 11.97 kB / 0.7693 GB, free: 112 kB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00262/0.9287, allocations: 437.9 kB / 0.7697 GB, free: 15.68 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001794/0.9305, allocations: 0.9256 MB / 0.7706 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.336e-05/0.9305, allocations: 65.95 kB / 0.7707 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001379/0.9307, allocations: 80 kB / 0.7708 GB, free: 14.57 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001563/0.9323, allocations: 0.8663 MB / 0.7716 GB, free: 13.7 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.329e-05/0.9323, allocations: 0 / 0.7716 GB, free: 13.7 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.153e-05/0.9324, allocations: 35.94 kB / 0.7717 GB, free: 13.66 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.13e-05/0.9324, allocations: 34 kB / 0.7717 GB, free: 13.63 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001463/0.9339, allocations: 0.8198 MB / 0.7725 GB, free: 12.8 MB / 0.5919 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.004967/0.9389, allocations: 3.639 MB / 0.7761 GB, free: 8.879 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001511/0.9404, allocations: 1.127 MB / 0.7772 GB, free: 7.637 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004135/0.9408, allocations: 149.6 kB / 0.7773 GB, free: 7.473 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.221e-05/0.9409, allocations: 39.12 kB / 0.7773 GB, free: 7.426 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=60): time 3.757e-06/0.9409, allocations: 0 / 0.7773 GB, free: 7.426 MB / 0.5919 GB Notification: Performance of matching and sorting (n=60): time 0.002126/0.943, allocations: 0.9818 MB / 0.7783 GB, free: 6.441 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.987e-05/0.9431, allocations: 59.97 kB / 0.7784 GB, free: 6.371 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001037/0.9441, allocations: 0.8321 MB / 0.7792 GB, free: 5.516 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 6.387e-05/0.9442, allocations: 41.7 kB / 0.7792 GB, free: 5.469 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003978/0.9446, allocations: 484 kB / 0.7797 GB, free: 4.988 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.000203/0.9448, allocations: 216.8 kB / 0.7799 GB, free: 4.773 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.302e-05/0.9448, allocations: 12 kB / 0.7799 GB, free: 4.762 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001289/0.945, allocations: 333.9 kB / 0.7802 GB, free: 4.43 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004856/0.9455, allocations: 253 kB / 0.7804 GB, free: 4.184 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005742/0.946, allocations: 367.5 kB / 0.7808 GB, free: 3.793 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005385/0.9466, allocations: 302 kB / 0.7811 GB, free: 3.5 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.011e-06/0.9466, allocations: 4 kB / 0.7811 GB, free: 3.496 MB / 0.5919 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001326/0.9479, allocations: 0.7398 MB / 0.7818 GB, free: 2.75 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001931/0.9482, allocations: 459.3 kB / 0.7822 GB, free: 2.266 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.707e-06/0.9482, allocations: 0 / 0.7822 GB, free: 2.266 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.52e-05/0.9482, allocations: 4 kB / 0.7823 GB, free: 2.262 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006032/0.9488, allocations: 136.7 kB / 0.7824 GB, free: 2.129 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.318e-05/0.9488, allocations: 7.984 kB / 0.7824 GB, free: 2.121 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001047/0.9499, allocations: 131.4 kB / 0.7825 GB, free: 1.992 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.375e-05/0.9499, allocations: 20 kB / 0.7825 GB, free: 1.973 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.042e-05/0.95, allocations: 4 kB / 0.7825 GB, free: 1.969 MB / 0.5919 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001141/0.9511, allocations: 0.6261 MB / 0.7831 GB, free: 1.344 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.537e-06/0.9511, allocations: 0 / 0.7831 GB, free: 1.344 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.124e-06/0.9511, allocations: 4 kB / 0.7832 GB, free: 1.34 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000522/0.9517, allocations: 139.9 kB / 0.7833 GB, free: 1.207 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.163e-06/0.9517, allocations: 11.88 kB / 0.7833 GB, free: 1.195 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009521/0.9526, allocations: 135.3 kB / 0.7834 GB, free: 1.062 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.371e-05/0.9527, allocations: 23.98 kB / 0.7834 GB, free: 1.039 MB / 0.5919 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005758/0.9533, allocations: 377 kB / 0.7838 GB, free: 0.6602 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001627/0.9534, allocations: 98.78 kB / 0.7839 GB, free: 0.5625 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001384/0.9548, allocations: 0.7588 MB / 0.7846 GB, free: 15.8 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.538e-06/0.9549, allocations: 11.95 kB / 0.7847 GB, free: 15.79 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/0.9549, allocations: 0 / 0.7847 GB, free: 15.79 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001188/0.9561, allocations: 0.9345 MB / 0.7856 GB, free: 14.77 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003506/0.9596, allocations: 2.259 MB / 0.7878 GB, free: 12.37 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-06/0.9596, allocations: 4.062 kB / 0.7878 GB, free: 12.37 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006437/0.9603, allocations: 139.9 kB / 0.7879 GB, free: 12.23 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.188e-05/0.9603, allocations: 4 kB / 0.7879 GB, free: 12.23 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.698e-05/0.9603, allocations: 16 kB / 0.7879 GB, free: 12.21 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.101e-05/0.9604, allocations: 15.92 kB / 0.7879 GB, free: 12.2 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.553e-06/0.9604, allocations: 4.875 kB / 0.7879 GB, free: 12.19 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001988/0.9624, allocations: 1.41 MB / 0.7893 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004789/0.9628, allocations: 259.7 kB / 0.7896 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001305/0.963, allocations: 20 kB / 0.7896 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007833/0.9638, allocations: 111.2 kB / 0.7897 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001079/0.9639, allocations: 44.31 kB / 0.7897 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.347e-05/0.9639, allocations: 20.12 kB / 0.7898 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0007683/0.9647, allocations: 0.5784 MB / 0.7903 GB, free: 9.598 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.7e-07/0.9647, allocations: 4 kB / 0.7903 GB, free: 9.594 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001349/0.9661, allocations: 0.5338 MB / 0.7909 GB, free: 9.059 MB / 0.6075 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 (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.0005273/0.9666, allocations: 238.7 kB / 0.7911 GB, free: 8.824 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001754/0.9684, allocations: 0.9624 MB / 0.792 GB, free: 7.863 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.9684, allocations: 0 / 0.792 GB, free: 7.863 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0005749/0.969, allocations: 355.1 kB / 0.7924 GB, free: 7.512 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002833/0.9718, allocations: 0.6215 MB / 0.793 GB, free: 6.91 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003692/0.9755, allocations: 2.635 MB / 0.7955 GB, free: 4.203 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000737/0.9763, allocations: 1.151 MB / 0.7967 GB, free: 3.023 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.001182/0.9775, allocations: 296.1 kB / 0.7969 GB, free: 2.73 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000222/0.9777, allocations: 79.42 kB / 0.797 GB, free: 2.652 MB / 0.6075 GB Notification: Performance of SimCode: time 1.213e-06/0.9777, allocations: 0 / 0.797 GB, free: 2.652 MB / 0.6075 GB Notification: Performance of Templates: time 0.03387/1.012, allocations: 19.04 MB / 0.8156 GB, free: 15.89 MB / 0.6387 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)