Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.FlowJunction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.FixedResistances.Examples.FlowJunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.FlowJunction") translateModel(Buildings.Fluid.FixedResistances.Examples.FlowJunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.FlowJunction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.382/1.382, allocations: 251.5 MB / 267.4 MB, free: 11.04 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.0009655/0.0009655, allocations: 173.8 kB / 326.5 MB, free: 2.664 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.772/1.772, allocations: 205 MB / 0.5766 GB, free: 20.95 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.000735/0.000735, allocations: 82.34 kB / 0.6803 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002894/0.0002894, allocations: 9.906 kB / 0.7938 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.198/0.1983, allocations: 105.4 MB / 0.8967 GB, free: 68.17 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.FlowJunction): time 0.6535/0.8519, allocations: 237.8 MB / 1.129 GB, free: 0.7969 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.01044/0.8624, allocations: 7.328 MB / 1.136 GB, free: 0.5859 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001989/0.8644, allocations: 50.66 kB / 1.136 GB, free: 0.582 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.001805/0.8662, allocations: 0.5823 MB / 1.137 GB, free: 0.5703 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.004872/0.8711, allocations: 1.958 MB / 1.139 GB, free: 480 kB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.005401/0.8765, allocations: 1.886 MB / 1.14 GB, free: 404 kB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.008339/0.8849, allocations: 4.496 MB / 1.145 GB, free: 392 kB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00282/0.8877, allocations: 0.9189 MB / 1.146 GB, free: 232 kB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004886/0.8926, allocations: 1.601 MB / 1.147 GB, free: 208 kB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002752/0.8954, allocations: 0.9714 MB / 1.148 GB, free: 192 kB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0004377/0.8959, allocations: 49.41 kB / 1.148 GB, free: 192 kB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006201/0.9021, allocations: 2.822 MB / 1.151 GB, free: 168 kB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0008576/0.903, allocations: 393 kB / 1.151 GB, free: 136 kB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.001786/0.9048, allocations: 0.6378 MB / 1.152 GB, free: 15.94 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.003966/0.9088, allocations: 1.96 MB / 1.154 GB, free: 15.62 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 7.384e-06/0.9088, allocations: 7.438 kB / 1.154 GB, free: 15.62 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.074e-06/0.9088, allocations: 0 / 1.154 GB, free: 15.62 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.695e-05/0.9089, allocations: 3.938 kB / 1.154 GB, free: 15.62 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.00367/0.9126, allocations: 1.473 MB / 1.155 GB, free: 14.6 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.124e-05/0.9126, allocations: 8.656 kB / 1.155 GB, free: 14.6 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002937/0.9156, allocations: 431.2 kB / 1.156 GB, free: 14.43 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00208/0.9177, allocations: 0.9559 MB / 1.157 GB, free: 13.81 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.386e-05/0.9178, allocations: 67.92 kB / 1.157 GB, free: 13.78 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001975/0.918, allocations: 83.78 kB / 1.157 GB, free: 13.75 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001699/0.9197, allocations: 0.8868 MB / 1.158 GB, free: 13.25 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.574e-05/0.9197, allocations: 0 / 1.158 GB, free: 13.25 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.51e-05/0.9198, allocations: 30.47 kB / 1.158 GB, free: 13.22 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.824e-05/0.9199, allocations: 28.09 kB / 1.158 GB, free: 13.22 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001561/0.9214, allocations: 0.8349 MB / 1.159 GB, free: 12.82 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.004903/0.9264, allocations: 3.657 MB / 1.162 GB, free: 9.797 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001464/0.9278, allocations: 1.099 MB / 1.163 GB, free: 8.902 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005913/0.9285, allocations: 381.2 kB / 1.164 GB, free: 8.723 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007241/0.9292, allocations: 421.9 kB / 1.164 GB, free: 8.312 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.492e-05/0.9292, allocations: 42.66 kB / 1.164 GB, free: 8.262 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=60): time 2.485e-06/0.9292, allocations: 0 / 1.164 GB, free: 8.262 MB / 0.7136 GB Notification: Performance of matching and sorting (n=60): time 0.002186/0.9314, allocations: 0.9843 MB / 1.165 GB, free: 7.793 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.841e-05/0.9315, allocations: 58.97 kB / 1.165 GB, free: 7.727 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001127/0.9326, allocations: 0.8406 MB / 1.166 GB, free: 7.246 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 8.266e-05/0.9327, allocations: 38.77 kB / 1.166 GB, free: 7.207 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003468/0.9331, allocations: 478.7 kB / 1.166 GB, free: 6.789 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001892/0.9333, allocations: 209.7 kB / 1.167 GB, free: 6.613 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.983e-05/0.9334, allocations: 56.09 kB / 1.167 GB, free: 6.57 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001145/0.9335, allocations: 331 kB / 1.167 GB, free: 6.246 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000499/0.934, allocations: 256.9 kB / 1.167 GB, free: 6.125 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005704/0.9346, allocations: 381.7 kB / 1.168 GB, free: 5.883 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001073/0.9357, allocations: 0.6118 MB / 1.168 GB, free: 5.555 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.9357, allocations: 0 / 1.168 GB, free: 5.555 MB / 0.7136 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001374/0.937, allocations: 0.7465 MB / 1.169 GB, free: 5.191 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 8.443e-05/0.9371, allocations: 131.7 kB / 1.169 GB, free: 5.051 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.015e-05/0.9372, allocations: 4 kB / 1.169 GB, free: 5.047 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.12e-05/0.9372, allocations: 5.125 kB / 1.169 GB, free: 5.047 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005769/0.9378, allocations: 128.4 kB / 1.169 GB, free: 5.027 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.283e-05/0.9378, allocations: 4.281 kB / 1.169 GB, free: 5.027 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009582/0.9388, allocations: 127.2 kB / 1.169 GB, free: 4.957 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.047e-05/0.9388, allocations: 25.44 kB / 1.169 GB, free: 4.949 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 8.466e-06/0.9388, allocations: 7.328 kB / 1.169 GB, free: 4.945 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001074/0.9399, allocations: 0.6217 MB / 1.17 GB, free: 4.664 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.586e-06/0.9399, allocations: 8.062 kB / 1.17 GB, free: 4.656 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.59e-06/0.9399, allocations: 2.375 kB / 1.17 GB, free: 4.656 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005253/0.9405, allocations: 131.7 kB / 1.17 GB, free: 4.633 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.795e-06/0.9405, allocations: 5.969 kB / 1.17 GB, free: 4.633 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000989/0.9415, allocations: 128.8 kB / 1.17 GB, free: 4.566 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.613e-05/0.9415, allocations: 18.72 kB / 1.17 GB, free: 4.562 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006204/0.9422, allocations: 388 kB / 1.171 GB, free: 4.258 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002141/0.9424, allocations: 103.4 kB / 1.171 GB, free: 4.207 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001425/0.9438, allocations: 0.7551 MB / 1.171 GB, free: 3.793 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.985e-06/0.9438, allocations: 6.312 kB / 1.171 GB, free: 3.793 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/0.9439, allocations: 0 / 1.171 GB, free: 3.793 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001247/0.9451, allocations: 0.9241 MB / 1.172 GB, free: 3.086 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003956/0.9491, allocations: 2.27 MB / 1.175 GB, free: 1.457 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.933e-06/0.9491, allocations: 3.094 kB / 1.175 GB, free: 1.457 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006846/0.9498, allocations: 141.6 kB / 1.175 GB, free: 1.43 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.177e-05/0.9498, allocations: 7.125 kB / 1.175 GB, free: 1.43 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.365e-05/0.9499, allocations: 21.67 kB / 1.175 GB, free: 1.418 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.374e-06/0.9499, allocations: 5.938 kB / 1.175 GB, free: 1.418 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.439e-06/0.9499, allocations: 5.906 kB / 1.175 GB, free: 1.418 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002057/0.952, allocations: 1.287 MB / 1.176 GB, free: 0.6289 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006066/0.9526, allocations: 272 kB / 1.176 GB, free: 408 kB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000206/0.9528, allocations: 18.64 kB / 1.176 GB, free: 396 kB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001014/0.9538, allocations: 99.67 kB / 1.176 GB, free: 352 kB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001198/0.954, allocations: 53.59 kB / 1.176 GB, free: 324 kB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.426e-05/0.954, allocations: 24.62 kB / 1.176 GB, free: 316 kB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0009439/0.955, allocations: 0.5849 MB / 1.177 GB, free: 15.97 MB / 0.7292 GB Notification: Performance of sort global known variables: time 2.81e-07/0.955, allocations: 0 / 1.177 GB, free: 15.97 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.001599/0.9566, allocations: 0.5452 MB / 1.178 GB, free: 15.86 MB / 0.7292 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.0006119/0.9572, allocations: 244.1 kB / 1.178 GB, free: 15.71 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.001878/0.9591, allocations: 0.967 MB / 1.179 GB, free: 15.05 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 5.1e-06/0.9591, allocations: 0 / 1.179 GB, free: 15.05 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0006297/0.9598, allocations: 357.1 kB / 1.179 GB, free: 14.71 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003815/0.9636, allocations: 0.6154 MB / 1.18 GB, free: 14.11 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004584/0.9682, allocations: 2.598 MB / 1.182 GB, free: 11.45 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007719/0.969, allocations: 1.126 MB / 1.183 GB, free: 10.3 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002897/0.9693, allocations: 83.42 kB / 1.183 GB, free: 10.21 MB / 0.7292 GB Notification: Performance of SimCode: time 6.81e-07/0.9693, allocations: 0 / 1.183 GB, free: 10.21 MB / 0.7292 GB Notification: Performance of Templates: time 0.02549/0.9948, allocations: 17.08 MB / 1.2 GB, free: 9.277 MB / 0.7448 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.FlowJunction.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.FlowJunction.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.FlowJunction -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe 2>&1)