Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.FixedResistances.Examples.FlowJunction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.FixedResistances.Examples.FlowJunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.FixedResistances.Examples.FlowJunction") translateModel(Buildings.Fluid.FixedResistances.Examples.FlowJunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.FixedResistances.Examples.FlowJunction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.761/1.761, allocations: 292.3 MB / 308.1 MB, free: 4.277 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001507/0.001507, allocations: 198.1 kB / 376.9 MB, free: 1.773 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.685/1.685, allocations: 205 MB / 0.6354 GB, free: 9.754 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001099/0.001099, allocations: 88.41 kB / 0.7479 GB, free: 61.33 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001616/0.001616, allocations: 51.92 kB / 0.8704 GB, free: 13.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3682/0.3699, allocations: 114.5 MB / 0.9822 GB, free: 10.39 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.FlowJunction): time 0.8827/1.253, allocations: 237.7 MB / 1.214 GB, free: 9.918 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.01582/1.268, allocations: 7.237 MB / 1.221 GB, free: 4.812 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003124/1.272, allocations: 45.34 kB / 1.221 GB, free: 4.793 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.003403/1.275, allocations: 0.5816 MB / 1.222 GB, free: 4.461 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.009763/1.285, allocations: 1.954 MB / 1.224 GB, free: 3.379 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.008984/1.294, allocations: 1.849 MB / 1.226 GB, free: 2.41 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.01022/1.304, allocations: 4.433 MB / 1.23 GB, free: 0.8164 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003278/1.308, allocations: 0.939 MB / 1.231 GB, free: 432 kB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007214/1.315, allocations: 1.606 MB / 1.233 GB, free: 15.73 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004555/1.319, allocations: 0.9881 MB / 1.234 GB, free: 15.33 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 0.0008486/1.32, allocations: 62.72 kB / 1.234 GB, free: 15.33 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01208/1.332, allocations: 2.835 MB / 1.236 GB, free: 14.29 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.00182/1.334, allocations: 407.8 kB / 1.237 GB, free: 14.13 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.003902/1.338, allocations: 0.65 MB / 1.237 GB, free: 13.77 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.01311/1.351, allocations: 2.773 MB / 1.24 GB, free: 12.8 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 1.077e-05/1.351, allocations: 0 / 1.24 GB, free: 12.8 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.775e-06/1.351, allocations: 0 / 1.24 GB, free: 12.8 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0001116/1.352, allocations: 0 / 1.24 GB, free: 12.8 MB / 0.823 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.009505/1.361, allocations: 1.707 MB / 1.242 GB, free: 11.67 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 6.666e-05/1.361, allocations: 14.19 kB / 1.242 GB, free: 11.67 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005058/1.366, allocations: 414.9 kB / 1.242 GB, free: 11.57 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004486/1.371, allocations: 0.9502 MB / 1.243 GB, free: 10.98 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000162/1.371, allocations: 60 kB / 1.243 GB, free: 10.96 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006338/1.372, allocations: 87.73 kB / 1.243 GB, free: 10.93 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004318/1.376, allocations: 0.8748 MB / 1.244 GB, free: 10.58 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.743e-05/1.376, allocations: 0.6875 kB / 1.244 GB, free: 10.58 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002466/1.376, allocations: 32.12 kB / 1.244 GB, free: 10.55 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.088e-05/1.377, allocations: 27.77 kB / 1.244 GB, free: 10.55 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003406/1.38, allocations: 0.804 MB / 1.245 GB, free: 10.28 MB / 0.823 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.01108/1.391, allocations: 3.619 MB / 1.248 GB, free: 7.797 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00276/1.394, allocations: 1.097 MB / 1.25 GB, free: 6.965 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001215/1.395, allocations: 367.9 kB / 1.25 GB, free: 6.836 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00115/1.396, allocations: 416.8 kB / 1.25 GB, free: 6.441 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.798e-05/1.396, allocations: 40.98 kB / 1.25 GB, free: 6.395 MB / 0.823 GB Notification: Performance of pre-optimization done (n=60): time 6.011e-06/1.396, allocations: 0 / 1.25 GB, free: 6.395 MB / 0.823 GB Notification: Performance of matching and sorting (n=60): time 0.004212/1.401, allocations: 0.9565 MB / 1.251 GB, free: 6.035 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.652e-05/1.401, allocations: 58.02 kB / 1.251 GB, free: 5.973 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003424/1.404, allocations: 0.8322 MB / 1.252 GB, free: 5.625 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001815/1.404, allocations: 41.7 kB / 1.252 GB, free: 5.582 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007678/1.405, allocations: 479.5 kB / 1.253 GB, free: 5.211 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004244/1.406, allocations: 211.4 kB / 1.253 GB, free: 5.043 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004249/1.406, allocations: 112.8 kB / 1.253 GB, free: 4.988 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0002045/1.406, allocations: 325.9 kB / 1.253 GB, free: 4.676 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008159/1.407, allocations: 256.3 kB / 1.253 GB, free: 4.578 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009494/1.408, allocations: 370.7 kB / 1.254 GB, free: 4.387 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001456/1.41, allocations: 0.591 MB / 1.254 GB, free: 4.109 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.849e-06/1.41, allocations: 0.6562 kB / 1.254 GB, free: 4.109 MB / 0.823 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002071/1.412, allocations: 0.7344 MB / 1.255 GB, free: 3.809 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 3.543e-05/1.412, allocations: 6.812 kB / 1.255 GB, free: 3.809 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.238e-05/1.412, allocations: 0 / 1.255 GB, free: 3.809 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.953e-05/1.412, allocations: 6.047 kB / 1.255 GB, free: 3.809 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000661/1.412, allocations: 125.5 kB / 1.255 GB, free: 3.797 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.542e-05/1.412, allocations: 12.72 kB / 1.255 GB, free: 3.789 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001512/1.414, allocations: 117.3 kB / 1.255 GB, free: 3.75 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.986e-05/1.414, allocations: 23.98 kB / 1.255 GB, free: 3.746 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001181/1.415, allocations: 499.5 kB / 1.256 GB, free: 3.496 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000718/1.416, allocations: 367.3 kB / 1.256 GB, free: 3.301 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001195/1.417, allocations: 0.5827 MB / 1.257 GB, free: 3.031 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.57e-06/1.417, allocations: 0 / 1.257 GB, free: 3.031 MB / 0.823 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.002152/1.419, allocations: 0.7237 MB / 1.258 GB, free: 2.73 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 2.37e-05/1.419, allocations: 7.156 kB / 1.258 GB, free: 2.73 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.304e-06/1.419, allocations: 1.219 kB / 1.258 GB, free: 2.73 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.667e-05/1.419, allocations: 3.594 kB / 1.258 GB, free: 2.73 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006737/1.42, allocations: 125.8 kB / 1.258 GB, free: 2.719 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.816e-05/1.42, allocations: 7.875 kB / 1.258 GB, free: 2.715 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00162/1.422, allocations: 106.5 kB / 1.258 GB, free: 2.684 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.604e-05/1.422, allocations: 22.66 kB / 1.258 GB, free: 2.68 MB / 0.823 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.0003634/1.422, allocations: 217.3 kB / 1.258 GB, free: 2.469 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004943/1.423, allocations: 105.2 kB / 1.258 GB, free: 2.414 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00225/1.425, allocations: 0.7373 MB / 1.259 GB, free: 2.109 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.779e-06/1.425, allocations: 7.75 kB / 1.259 GB, free: 2.109 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.077e-05/1.425, allocations: 1 kB / 1.259 GB, free: 2.109 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001304/1.426, allocations: 0.9108 MB / 1.26 GB, free: 1.469 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004978/1.431, allocations: 2.238 MB / 1.262 GB, free: 200 kB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.588e-06/1.431, allocations: 6.219 kB / 1.262 GB, free: 196 kB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000676/1.432, allocations: 136.8 kB / 1.262 GB, free: 184 kB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.282e-05/1.432, allocations: 8.047 kB / 1.262 GB, free: 184 kB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.995e-05/1.432, allocations: 17.08 kB / 1.262 GB, free: 176 kB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.074e-05/1.432, allocations: 7.141 kB / 1.262 GB, free: 176 kB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.53e-06/1.432, allocations: 6.875 kB / 1.262 GB, free: 172 kB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02556/1.458, allocations: 8.324 MB / 1.27 GB, free: 11.5 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001014/1.459, allocations: 256.4 kB / 1.27 GB, free: 11.25 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004236/1.459, allocations: 18.89 kB / 1.27 GB, free: 11.24 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001326/1.461, allocations: 96.69 kB / 1.271 GB, free: 11.17 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002404/1.461, allocations: 47 kB / 1.271 GB, free: 11.14 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.871e-05/1.461, allocations: 30.61 kB / 1.271 GB, free: 11.11 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.00151/1.463, allocations: 0.5789 MB / 1.271 GB, free: 10.53 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.3e-07/1.463, allocations: 4 kB / 1.271 GB, free: 10.53 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.005593/1.468, allocations: 0.9048 MB / 1.272 GB, free: 9.621 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 6 (spl.vol.dynBal.U,spl.vol.dynBal.m,spl.vol.dynBal.mXi[1],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.001191/1.469, allocations: 249.6 kB / 1.272 GB, free: 9.379 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.002452/1.472, allocations: 0.9388 MB / 1.273 GB, free: 8.438 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 8.746e-06/1.472, allocations: 0 / 1.273 GB, free: 8.438 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0007081/1.473, allocations: 347.3 kB / 1.274 GB, free: 8.098 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003728/1.476, allocations: 0.6264 MB / 1.274 GB, free: 7.484 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004897/1.481, allocations: 2.917 MB / 1.277 GB, free: 4.5 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009411/1.482, allocations: 1.14 MB / 1.278 GB, free: 3.328 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.001714/1.484, allocations: 312.5 kB / 1.278 GB, free: 3.031 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004508/1.484, allocations: 95.41 kB / 1.279 GB, free: 2.938 MB / 0.8386 GB Notification: Performance of SimCode: time 1.153e-06/1.484, allocations: 3.938 kB / 1.279 GB, free: 2.934 MB / 0.8386 GB Notification: Performance of Templates: time 0.04841/1.533, allocations: 23.56 MB / 1.302 GB, free: 11.64 MB / 0.8698 GB make -j1 -f Buildings_8_Buildings.Fluid.FixedResistances.Examples.FlowJunction.makefile (rm -f Buildings_8_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe ; mkfifo Buildings_8_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe >> ../files/Buildings_8_Buildings.Fluid.FixedResistances.Examples.FlowJunction.sim & ./Buildings_8_Buildings.Fluid.FixedResistances.Examples.FlowJunction -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe 2>&1)