Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.FixedResistances.Examples.FlowJunction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.FixedResistances.Examples.FlowJunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.FixedResistances.Examples.FlowJunction") translateModel(Buildings.Fluid.FixedResistances.Examples.FlowJunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.FixedResistances.Examples.FlowJunction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.253/2.253, allocations: 251.1 MB / 266.7 MB, free: 11.57 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002074/0.002073, allocations: 168.7 kB / 326.2 MB, free: 2.867 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.495/2.495, allocations: 205.4 MB / 0.5772 GB, free: 20.76 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000895/0.0008946, allocations: 89.75 kB / 0.6817 GB, free: 13.61 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006355/0.0006357, allocations: 11.31 kB / 0.7957 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2148/0.2154, allocations: 106.3 MB / 0.8995 GB, free: 65.53 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.FlowJunction): time 0.9794/1.195, allocations: 219.2 MB / 1.114 GB, free: 3.652 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.01479/1.21, allocations: 6.864 MB / 1.12 GB, free: 3.449 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002204/1.212, allocations: 43.44 kB / 1.12 GB, free: 3.449 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.002499/1.215, allocations: 463.7 kB / 1.121 GB, free: 3.445 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.006543/1.221, allocations: 1.546 MB / 1.122 GB, free: 3.363 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.006076/1.227, allocations: 1.46 MB / 1.124 GB, free: 3.32 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.006045/1.233, allocations: 3.843 MB / 1.127 GB, free: 3.316 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001874/1.235, allocations: 0.8659 MB / 1.128 GB, free: 3.207 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004935/1.24, allocations: 1.45 MB / 1.13 GB, free: 3.188 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002534/1.243, allocations: 0.9137 MB / 1.131 GB, free: 3.188 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0003888/1.243, allocations: 52.03 kB / 1.131 GB, free: 3.188 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005363/1.249, allocations: 1.392 MB / 1.132 GB, free: 3.156 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0009474/1.25, allocations: 389.7 kB / 1.132 GB, free: 3.156 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0009228/1.251, allocations: 288.7 kB / 1.133 GB, free: 19.12 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.004107/1.255, allocations: 1.81 MB / 1.134 GB, free: 18.98 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 7.895e-06/1.255, allocations: 6.094 kB / 1.134 GB, free: 18.98 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.215e-06/1.255, allocations: 0 / 1.134 GB, free: 18.98 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.598e-05/1.255, allocations: 0 / 1.134 GB, free: 18.98 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 199 * Number of variables: 199 Notification: Performance of Generate backend data structure: time 0.004198/1.259, allocations: 1.486 MB / 1.136 GB, free: 18.12 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.053e-05/1.259, allocations: 12.47 kB / 1.136 GB, free: 18.11 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004076/1.263, allocations: 422.9 kB / 1.136 GB, free: 18.04 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002945/1.266, allocations: 0.9213 MB / 1.137 GB, free: 17.72 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.28e-05/1.266, allocations: 69.27 kB / 1.137 GB, free: 17.71 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002194/1.267, allocations: 84.97 kB / 1.137 GB, free: 17.71 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002512/1.269, allocations: 0.8777 MB / 1.138 GB, free: 17.65 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.681e-05/1.269, allocations: 0 / 1.138 GB, free: 17.65 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001233/1.269, allocations: 33.72 kB / 1.138 GB, free: 17.65 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.559e-05/1.269, allocations: 31.47 kB / 1.138 GB, free: 17.65 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002703/1.272, allocations: 0.8295 MB / 1.139 GB, free: 17.63 MB / 0.7136 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.008573/1.281, allocations: 3.658 MB / 1.143 GB, free: 15.57 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002388/1.283, allocations: 1.092 MB / 1.144 GB, free: 14.89 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009832/1.284, allocations: 377.4 kB / 1.144 GB, free: 14.84 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001146/1.285, allocations: 419.6 kB / 1.144 GB, free: 14.43 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.365e-05/1.285, allocations: 40.66 kB / 1.144 GB, free: 14.39 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=60): time 3.466e-06/1.285, allocations: 0 / 1.144 GB, free: 14.39 MB / 0.7136 GB Notification: Performance of matching and sorting (n=60): time 0.003354/1.289, allocations: 0.9839 MB / 1.145 GB, free: 14.17 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.102e-05/1.289, allocations: 58.19 kB / 1.146 GB, free: 14.1 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001516/1.29, allocations: 0.8294 MB / 1.146 GB, free: 13.82 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001419/1.291, allocations: 38.27 kB / 1.146 GB, free: 13.79 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004047/1.291, allocations: 484.3 kB / 1.147 GB, free: 13.57 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002404/1.291, allocations: 214 kB / 1.147 GB, free: 13.41 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.866e-05/1.291, allocations: 11.12 kB / 1.147 GB, free: 13.41 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001524/1.291, allocations: 327.8 kB / 1.147 GB, free: 13.1 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007874/1.292, allocations: 247.4 kB / 1.148 GB, free: 13.07 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008953/1.293, allocations: 385.5 kB / 1.148 GB, free: 12.9 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008743/1.294, allocations: 299.8 kB / 1.148 GB, free: 12.88 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.14e-06/1.294, allocations: 0 / 1.148 GB, free: 12.88 MB / 0.7136 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002184/1.296, allocations: 0.7376 MB / 1.149 GB, free: 12.7 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 9.657e-05/1.296, allocations: 129.5 kB / 1.149 GB, free: 12.57 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.014e-05/1.296, allocations: 0 / 1.149 GB, free: 12.57 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.112e-05/1.296, allocations: 6.625 kB / 1.149 GB, free: 12.57 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001601/1.298, allocations: 127.6 kB / 1.149 GB, free: 12.55 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.697e-05/1.298, allocations: 3.5 kB / 1.149 GB, free: 12.55 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002251/1.3, allocations: 128 kB / 1.149 GB, free: 12.5 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.244e-05/1.3, allocations: 24.42 kB / 1.149 GB, free: 12.49 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.293e-05/1.301, allocations: 3.531 kB / 1.149 GB, free: 12.49 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001905/1.302, allocations: 0.6163 MB / 1.15 GB, free: 12.41 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.278e-06/1.302, allocations: 10.42 kB / 1.15 GB, free: 12.4 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.077e-06/1.302, allocations: 2.938 kB / 1.15 GB, free: 12.4 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001049/1.304, allocations: 134.7 kB / 1.15 GB, free: 12.38 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.018e-05/1.304, allocations: 3 kB / 1.15 GB, free: 12.38 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001802/1.305, allocations: 126 kB / 1.15 GB, free: 12.32 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.489e-05/1.305, allocations: 20.94 kB / 1.15 GB, free: 12.32 MB / 0.7136 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.0009177/1.306, allocations: 384.1 kB / 1.151 GB, free: 12.11 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003521/1.307, allocations: 103 kB / 1.151 GB, free: 12.06 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002275/1.309, allocations: 0.7645 MB / 1.151 GB, free: 11.88 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002077/1.311, allocations: 0.9153 MB / 1.152 GB, free: 11.35 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-05/1.311, allocations: 3.938 kB / 1.152 GB, free: 11.34 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008789/1.312, allocations: 263 kB / 1.153 GB, free: 11.16 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002402/1.312, allocations: 10.72 kB / 1.153 GB, free: 11.16 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001733/1.314, allocations: 98.09 kB / 1.153 GB, free: 11.13 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001625/1.314, allocations: 39.09 kB / 1.153 GB, free: 11.11 MB / 0.7136 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002943/1.317, allocations: 0.8139 MB / 1.154 GB, free: 10.88 MB / 0.7136 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.003484/1.321, allocations: 1.288 MB / 1.155 GB, free: 10.46 MB / 0.7136 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009088/1.322, allocations: 321.2 kB / 1.155 GB, free: 10.4 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001357/1.323, allocations: 0.5784 MB / 1.156 GB, free: 10.2 MB / 0.7136 GB Notification: Performance of Backend: time 9.42e-07/1.323, allocations: 0 / 1.156 GB, free: 10.2 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.00504/1.328, allocations: 1.25 MB / 1.157 GB, free: 9.852 MB / 0.7136 GB Notification: Performance of SimCode: time 0.009546/1.338, allocations: 3.344 MB / 1.16 GB, free: 7.668 MB / 0.7136 GB Notification: Performance of Templates: time 0.06997/1.408, allocations: 26.05 MB / 1.186 GB, free: 3.059 MB / 0.7292 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.FixedResistances.Examples.FlowJunction.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.FixedResistances.Examples.FlowJunction.sim & ./Buildings_7.0.0_Buildings.Fluid.FixedResistances.Examples.FlowJunction -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe 2>&1)