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.001101/0.001101, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001316/0.001317, allocations: 197.8 kB / 16.14 MB, free: 6.688 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.356/1.356, allocations: 222.9 MB / 239.8 MB, free: 4.609 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.049/1.049, allocations: 143 MB / 433 MB, free: 11.59 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001365/0.001365, allocations: 59.91 kB / 0.5135 GB, free: 12.14 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1771/0.1785, allocations: 82.04 MB / 0.5936 GB, free: 10.08 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.FlowJunction): time 0.5453/0.7238, allocations: 237.9 MB / 0.8259 GB, free: 15.72 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01088/0.7347, allocations: 7.31 MB / 0.833 GB, free: 8.398 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00127/0.736, allocations: 47.69 kB / 0.8331 GB, free: 8.352 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001647/0.7377, allocations: 0.5828 MB / 0.8337 GB, free: 7.766 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.004636/0.7423, allocations: 1.961 MB / 0.8356 GB, free: 5.801 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.004639/0.747, allocations: 1.85 MB / 0.8374 GB, free: 3.961 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.004708/0.7517, allocations: 4.437 MB / 0.8417 GB, free: 15.51 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001317/0.753, allocations: 0.9318 MB / 0.8426 GB, free: 14.56 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003353/0.7564, allocations: 1.599 MB / 0.8442 GB, free: 12.96 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001751/0.7582, allocations: 0.9888 MB / 0.8451 GB, free: 11.96 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.000162/0.7584, allocations: 60 kB / 0.8452 GB, free: 11.91 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004974/0.7633, allocations: 2.844 MB / 0.848 GB, free: 9.055 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0004964/0.7639, allocations: 402.7 kB / 0.8484 GB, free: 8.66 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0008513/0.7647, allocations: 0.6569 MB / 0.849 GB, free: 8 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.004533/0.7693, allocations: 2.863 MB / 0.8518 GB, free: 5.129 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.7693, allocations: 0 / 0.8518 GB, free: 5.129 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.302e-06/0.7693, allocations: 0 / 0.8518 GB, free: 5.129 MB / 0.67 GB Notification: Performance of Transformations before backend: time 1.841e-05/0.7693, allocations: 0 / 0.8518 GB, free: 5.129 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.002963/0.7723, allocations: 1.713 MB / 0.8535 GB, free: 3.363 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 5.381e-05/0.7723, allocations: 8.031 kB / 0.8535 GB, free: 3.355 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00286/0.7752, allocations: 430 kB / 0.8539 GB, free: 2.934 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00146/0.7767, allocations: 0.9599 MB / 0.8548 GB, free: 1.93 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.491e-05/0.7767, allocations: 66 kB / 0.8549 GB, free: 1.867 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001235/0.7769, allocations: 83.91 kB / 0.855 GB, free: 1.785 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001531/0.7784, allocations: 0.8662 MB / 0.8558 GB, free: 0.9141 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.081e-05/0.7784, allocations: 0 / 0.8558 GB, free: 0.9141 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.178e-05/0.7785, allocations: 36 kB / 0.8559 GB, free: 0.8789 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.801e-05/0.7786, allocations: 30 kB / 0.8559 GB, free: 0.8477 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001428/0.78, allocations: 0.8003 MB / 0.8567 GB, free: 48 kB / 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.2775/1.057, allocations: 3.639 MB / 0.8602 GB, free: 213.8 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001337/1.059, allocations: 1.092 MB / 0.8613 GB, free: 213.2 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005398/1.059, allocations: 368.6 kB / 0.8616 GB, free: 213.2 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006303/1.06, allocations: 406.5 kB / 0.862 GB, free: 212.9 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.582e-05/1.06, allocations: 45.81 kB / 0.8621 GB, free: 212.8 MB / 0.67 GB Notification: Performance of pre-optimization done (n=60): time 2.635e-06/1.06, allocations: 0 / 0.8621 GB, free: 212.8 MB / 0.67 GB Notification: Performance of matching and sorting (n=60): time 0.002004/1.062, allocations: 0.9526 MB / 0.863 GB, free: 212.6 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.115e-05/1.062, allocations: 57.56 kB / 0.8631 GB, free: 212.5 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008942/1.063, allocations: 0.8363 MB / 0.8639 GB, free: 212.2 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 6.14e-05/1.063, allocations: 36.58 kB / 0.8639 GB, free: 212.1 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003348/1.063, allocations: 483.1 kB / 0.8644 GB, free: 211.8 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002072/1.064, allocations: 218.1 kB / 0.8646 GB, free: 211.6 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001799/1.064, allocations: 114.6 kB / 0.8647 GB, free: 211.6 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 5.883e-05/1.064, allocations: 334.3 kB / 0.865 GB, free: 211.2 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004452/1.064, allocations: 251.9 kB / 0.8652 GB, free: 211.1 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005089/1.065, allocations: 373 kB / 0.8656 GB, free: 211 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009423/1.066, allocations: 0.5861 MB / 0.8662 GB, free: 210.7 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/1.066, allocations: 0.5625 kB / 0.8662 GB, free: 210.7 MB / 0.67 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001234/1.067, allocations: 0.7303 MB / 0.8669 GB, free: 210.4 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.92e-05/1.067, allocations: 7.156 kB / 0.8669 GB, free: 210.4 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/1.067, allocations: 6.531 kB / 0.8669 GB, free: 210.4 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.93e-05/1.067, allocations: 5.219 kB / 0.8669 GB, free: 210.4 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005889/1.068, allocations: 125.2 kB / 0.867 GB, free: 210.4 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.085e-05/1.068, allocations: 4.562 kB / 0.867 GB, free: 210.4 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009628/1.069, allocations: 128.2 kB / 0.8671 GB, free: 210.4 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.328e-05/1.069, allocations: 25.11 kB / 0.8672 GB, free: 210.4 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007545/1.07, allocations: 0.4891 MB / 0.8677 GB, free: 210.1 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004936/1.07, allocations: 367.9 kB / 0.868 GB, free: 209.9 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008804/1.071, allocations: 0.5753 MB / 0.8686 GB, free: 209.7 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.474e-06/1.071, allocations: 0 / 0.8686 GB, free: 209.7 MB / 0.67 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.001092/1.072, allocations: 0.7223 MB / 0.8693 GB, free: 209.4 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.346e-05/1.072, allocations: 8.859 kB / 0.8693 GB, free: 209.4 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/1.072, allocations: 6.375 kB / 0.8693 GB, free: 209.4 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.811e-06/1.072, allocations: 4.578 kB / 0.8693 GB, free: 209.4 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005113/1.073, allocations: 122.9 kB / 0.8694 GB, free: 209.4 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.682e-06/1.073, allocations: 2.906 kB / 0.8694 GB, free: 209.4 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008997/1.074, allocations: 131.9 kB / 0.8695 GB, free: 209.3 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.591e-05/1.074, allocations: 21.62 kB / 0.8696 GB, free: 209.3 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.0001891/1.074, allocations: 213.9 kB / 0.8698 GB, free: 209.1 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001434/1.074, allocations: 100.5 kB / 0.8699 GB, free: 209.1 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00131/1.075, allocations: 0.7443 MB / 0.8706 GB, free: 208.8 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.422e-06/1.075, allocations: 10.34 kB / 0.8706 GB, free: 208.8 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.71e-06/1.075, allocations: 0 / 0.8706 GB, free: 208.8 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001014/1.076, allocations: 0.9025 MB / 0.8715 GB, free: 208.2 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003004/1.079, allocations: 2.249 MB / 0.8737 GB, free: 206.9 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.659e-06/1.079, allocations: 5.312 kB / 0.8737 GB, free: 206.9 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005991/1.08, allocations: 135.4 kB / 0.8738 GB, free: 206.9 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.674e-06/1.08, allocations: 8.656 kB / 0.8738 GB, free: 206.9 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.579e-05/1.08, allocations: 20.06 kB / 0.8738 GB, free: 206.9 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.382e-06/1.08, allocations: 6.469 kB / 0.8738 GB, free: 206.9 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.969e-06/1.08, allocations: 5.438 kB / 0.8738 GB, free: 206.9 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001607/1.082, allocations: 1.232 MB / 0.875 GB, free: 206.3 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003468/1.082, allocations: 261.1 kB / 0.8753 GB, free: 206.1 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001199/1.082, allocations: 20.05 kB / 0.8753 GB, free: 206.1 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007888/1.083, allocations: 85.39 kB / 0.8754 GB, free: 206.1 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001176/1.083, allocations: 57.28 kB / 0.8754 GB, free: 206 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.209e-05/1.083, allocations: 20.06 kB / 0.8755 GB, free: 206 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0006986/1.084, allocations: 0.5861 MB / 0.876 GB, free: 205.8 MB / 0.67 GB Notification: Performance of sort global known variables: time 2.7e-07/1.084, allocations: 0 / 0.876 GB, free: 205.8 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.00126/1.085, allocations: 0.5348 MB / 0.8766 GB, free: 205.7 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.000557/1.086, allocations: 253 kB / 0.8768 GB, free: 205.6 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001572/1.087, allocations: 0.9365 MB / 0.8777 GB, free: 205.3 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/1.087, allocations: 2.656 kB / 0.8777 GB, free: 205.3 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0005182/1.088, allocations: 344.3 kB / 0.878 GB, free: 205.2 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002647/1.09, allocations: 0.6212 MB / 0.8787 GB, free: 205.1 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003075/1.093, allocations: 2.558 MB / 0.8812 GB, free: 203.5 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004788/1.094, allocations: 1.122 MB / 0.8822 GB, free: 202.7 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0009949/1.095, allocations: 305.9 kB / 0.8825 GB, free: 202.7 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002115/1.095, allocations: 74.91 kB / 0.8826 GB, free: 202.7 MB / 0.67 GB Notification: Performance of SimCode: time 5.91e-07/1.095, allocations: 2.5 kB / 0.8826 GB, free: 202.7 MB / 0.67 GB Notification: Performance of Templates: time 0.03675/1.132, allocations: 19.83 MB / 0.902 GB, free: 201.4 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)