Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.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/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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(BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.FlowJunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.FlowJunction") translateModel(BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.FlowJunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.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.001138/0.001138, allocations: 108 kB / 15.61 MB, free: 152 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.001482/0.001483, allocations: 194.7 kB / 16.53 MB, free: 6.664 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.379/1.379, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 1.003/1.003, allocations: 143 MB / 433.4 MB, free: 11.53 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001686/0.001687, allocations: 67.89 kB / 0.5141 GB, free: 11.69 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2116/0.2133, allocations: 82.03 MB / 0.5943 GB, free: 9.625 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.FlowJunction): time 0.578/0.7914, allocations: 240.1 MB / 0.8287 GB, free: 12.98 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01254/0.804, allocations: 7.219 MB / 0.8358 GB, free: 5.742 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002295/0.8063, allocations: 51.69 kB / 0.8358 GB, free: 5.691 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.002205/0.8086, allocations: 0.691 MB / 0.8365 GB, free: 4.996 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.005888/0.8145, allocations: 2.07 MB / 0.8385 GB, free: 2.918 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.005217/0.8198, allocations: 2.019 MB / 0.8405 GB, free: 0.9102 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.004763/0.8245, allocations: 3.264 MB / 0.8437 GB, free: 13.64 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002132/0.8267, allocations: 1.14 MB / 0.8448 GB, free: 12.48 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004291/0.831, allocations: 1.782 MB / 0.8465 GB, free: 10.69 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00238/0.8334, allocations: 0.9681 MB / 0.8475 GB, free: 9.723 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0004361/0.8338, allocations: 124 kB / 0.8476 GB, free: 9.602 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005288/0.8391, allocations: 2.479 MB / 0.85 GB, free: 7.117 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0007286/0.8399, allocations: 466.6 kB / 0.8505 GB, free: 6.66 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.001576/0.8415, allocations: 0.7233 MB / 0.8512 GB, free: 5.934 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.005865/0.8473, allocations: 2.75 MB / 0.8539 GB, free: 3.176 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.8474, allocations: 0 / 0.8539 GB, free: 3.176 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.804e-06/0.8474, allocations: 4 kB / 0.8539 GB, free: 3.172 MB / 0.67 GB Notification: Performance of Transformations before backend: time 9.543e-05/0.8475, allocations: 0 / 0.8539 GB, free: 3.172 MB / 0.67 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.004703/0.8522, allocations: 1.713 MB / 0.8555 GB, free: 1.41 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 5.355e-05/0.8523, allocations: 8.031 kB / 0.8555 GB, free: 1.402 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003144/0.8554, allocations: 422 kB / 0.856 GB, free: 0.9883 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3202/1.176, allocations: 0.9638 MB / 0.8569 GB, free: 215.4 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001037/1.176, allocations: 62.7 kB / 0.857 GB, free: 215.4 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004204/1.176, allocations: 83.62 kB / 0.857 GB, free: 215.4 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001838/1.178, allocations: 0.8607 MB / 0.8579 GB, free: 215.3 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.613e-05/1.178, allocations: 5.094 kB / 0.8579 GB, free: 215.3 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.296e-05/1.178, allocations: 34.81 kB / 0.8579 GB, free: 215.3 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.681e-05/1.178, allocations: 27.91 kB / 0.8579 GB, free: 215.3 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001708/1.18, allocations: 0.8035 MB / 0.8587 GB, free: 215.3 MB / 0.67 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.006602/1.187, allocations: 3.689 MB / 0.8623 GB, free: 213.7 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001536/1.188, allocations: 1.093 MB / 0.8634 GB, free: 212.9 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000565/1.189, allocations: 369.4 kB / 0.8637 GB, free: 212.7 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007697/1.19, allocations: 411.2 kB / 0.8641 GB, free: 212.4 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.014e-05/1.19, allocations: 42.59 kB / 0.8642 GB, free: 212.3 MB / 0.67 GB Notification: Performance of pre-optimization done (n=60): time 4.208e-06/1.19, allocations: 0 / 0.8642 GB, free: 212.3 MB / 0.67 GB Notification: Performance of matching and sorting (n=60): time 0.00217/1.192, allocations: 0.9496 MB / 0.8651 GB, free: 212 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.324e-05/1.192, allocations: 60.94 kB / 0.8652 GB, free: 211.9 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009278/1.193, allocations: 0.8356 MB / 0.866 GB, free: 211.6 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 5.424e-05/1.193, allocations: 39.39 kB / 0.866 GB, free: 211.5 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002863/1.193, allocations: 488.2 kB / 0.8665 GB, free: 211.2 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001794/1.193, allocations: 219.1 kB / 0.8667 GB, free: 211 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001781/1.194, allocations: 111.7 kB / 0.8668 GB, free: 210.9 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 8.514e-05/1.194, allocations: 325.8 kB / 0.8671 GB, free: 210.6 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000439/1.194, allocations: 255 kB / 0.8674 GB, free: 210.5 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004983/1.195, allocations: 372.2 kB / 0.8677 GB, free: 210.3 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008723/1.195, allocations: 0.5951 MB / 0.8683 GB, free: 210.1 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/1.195, allocations: 0.5625 kB / 0.8683 GB, free: 210.1 MB / 0.67 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001145/1.197, allocations: 0.7307 MB / 0.869 GB, free: 209.8 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.916e-05/1.197, allocations: 6.438 kB / 0.869 GB, free: 209.8 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.947e-06/1.197, allocations: 2.875 kB / 0.869 GB, free: 209.8 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.979e-05/1.197, allocations: 2.812 kB / 0.869 GB, free: 209.8 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005471/1.197, allocations: 133.4 kB / 0.8691 GB, free: 209.8 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.979e-06/1.197, allocations: 3.5 kB / 0.8691 GB, free: 209.8 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007806/1.198, allocations: 73.77 kB / 0.8692 GB, free: 209.7 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.145e-05/1.198, allocations: 22.38 kB / 0.8692 GB, free: 209.7 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007406/1.199, allocations: 498.7 kB / 0.8697 GB, free: 209.5 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000463/1.199, allocations: 360.7 kB / 0.8701 GB, free: 209.3 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008517/1.2, allocations: 0.58 MB / 0.8706 GB, free: 209 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.175e-06/1.2, allocations: 0 / 0.8706 GB, free: 209 MB / 0.67 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.001103/1.201, allocations: 0.7271 MB / 0.8713 GB, free: 208.8 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 9.147e-06/1.201, allocations: 5.438 kB / 0.8713 GB, free: 208.8 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/1.201, allocations: 4.125 kB / 0.8713 GB, free: 208.8 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.799e-06/1.201, allocations: 5.156 kB / 0.8713 GB, free: 208.8 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005059/1.202, allocations: 128.3 kB / 0.8715 GB, free: 208.8 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/1.202, allocations: 7.016 kB / 0.8715 GB, free: 208.8 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006416/1.203, allocations: 60.77 kB / 0.8715 GB, free: 208.7 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.766e-05/1.203, allocations: 21.28 kB / 0.8716 GB, free: 208.7 MB / 0.67 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.0001381/1.203, allocations: 209.9 kB / 0.8718 GB, free: 208.5 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001338/1.203, allocations: 105.6 kB / 0.8719 GB, free: 208.5 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001209/1.204, allocations: 0.7521 MB / 0.8726 GB, free: 208.2 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.392e-06/1.204, allocations: 5.656 kB / 0.8726 GB, free: 208.2 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/1.204, allocations: 0 / 0.8726 GB, free: 208.2 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009529/1.205, allocations: 0.9049 MB / 0.8735 GB, free: 207.5 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002793/1.208, allocations: 2.242 MB / 0.8757 GB, free: 206.3 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.049e-06/1.208, allocations: 5.734 kB / 0.8757 GB, free: 206.3 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005848/1.208, allocations: 132.6 kB / 0.8758 GB, free: 206.3 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.933e-06/1.208, allocations: 11.92 kB / 0.8758 GB, free: 206.3 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.532e-05/1.209, allocations: 21.25 kB / 0.8758 GB, free: 206.3 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.921e-06/1.209, allocations: 5.812 kB / 0.8758 GB, free: 206.3 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.02e-06/1.209, allocations: 8.266 kB / 0.8758 GB, free: 206.3 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001647/1.21, allocations: 1.23 MB / 0.877 GB, free: 205.6 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002858/1.21, allocations: 258 kB / 0.8773 GB, free: 205.5 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001181/1.211, allocations: 17.38 kB / 0.8773 GB, free: 205.4 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006337/1.211, allocations: 41.91 kB / 0.8773 GB, free: 205.4 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001172/1.211, allocations: 52.73 kB / 0.8774 GB, free: 205.4 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.423e-05/1.211, allocations: 25.77 kB / 0.8774 GB, free: 205.4 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0006678/1.212, allocations: 0.5841 MB / 0.878 GB, free: 205.2 MB / 0.67 GB Notification: Performance of sort global known variables: time 2.81e-07/1.212, allocations: 2.125 kB / 0.878 GB, free: 205.2 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001197/1.213, allocations: 0.5304 MB / 0.8785 GB, free: 205.1 MB / 0.67 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.0004887/1.214, allocations: 245.1 kB / 0.8787 GB, free: 205 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.00171/1.216, allocations: 1.007 MB / 0.8797 GB, free: 204.7 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 5.661e-06/1.216, allocations: 5.188 kB / 0.8797 GB, free: 204.7 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0005432/1.216, allocations: 344.2 kB / 0.8801 GB, free: 204.6 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002514/1.219, allocations: 0.6126 MB / 0.8807 GB, free: 204.5 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002764/1.221, allocations: 2.162 MB / 0.8828 GB, free: 203.3 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004844/1.222, allocations: 1.125 MB / 0.8839 GB, free: 202.5 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0009715/1.223, allocations: 298.3 kB / 0.8842 GB, free: 202.5 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001956/1.223, allocations: 86.47 kB / 0.8842 GB, free: 202.4 MB / 0.67 GB Notification: Performance of SimCode: time 7.52e-07/1.223, allocations: 0 / 0.8842 GB, free: 202.4 MB / 0.67 GB Notification: Performance of Templates: time 0.03902/1.262, allocations: 20.42 MB / 0.9042 GB, free: 200.6 MB / 0.67 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.FlowJunction.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.FlowJunction.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.FlowJunction.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.FlowJunction.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.FlowJunction.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.FlowJunction -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.FlowJunction.pipe 2>&1)