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.001123/0.001124, allocations: 113.5 kB / 16.37 MB, free: 6.012 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.0009904/0.0009904, allocations: 192.1 kB / 17.31 MB, free: 5.613 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.259/1.259, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.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 0.8272/0.8272, allocations: 143 MB / 434.2 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00129/0.00129, allocations: 68.12 kB / 0.5156 GB, free: 14.44 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2987/0.3, allocations: 82.03 MB / 0.5957 GB, free: 16.11 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.FlowJunction): time 0.5011/0.8011, allocations: 240.1 MB / 0.8302 GB, free: 0.5664 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01121/0.8124, allocations: 7.236 MB / 0.8372 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001533/0.8139, allocations: 48.81 kB / 0.8373 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001625/0.8156, allocations: 0.6964 MB / 0.838 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.004476/0.8201, allocations: 2.079 MB / 0.84 GB, free: 14.58 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.004514/0.8246, allocations: 2.024 MB / 0.842 GB, free: 13.98 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003993/0.8286, allocations: 3.278 MB / 0.8452 GB, free: 12.91 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001416/0.8301, allocations: 1.143 MB / 0.8463 GB, free: 12.23 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003531/0.8336, allocations: 1.79 MB / 0.848 GB, free: 11.46 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001863/0.8355, allocations: 0.9666 MB / 0.849 GB, free: 11 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001899/0.8357, allocations: 123.6 kB / 0.8491 GB, free: 11 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004577/0.8403, allocations: 2.49 MB / 0.8515 GB, free: 10.11 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0004418/0.8407, allocations: 463.3 kB / 0.852 GB, free: 9.797 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0008208/0.8416, allocations: 0.7193 MB / 0.8527 GB, free: 9.344 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.004006/0.8456, allocations: 2.773 MB / 0.8554 GB, free: 7.711 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.8456, allocations: 4 kB / 0.8554 GB, free: 7.707 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.423e-06/0.8456, allocations: 0 / 0.8554 GB, free: 7.707 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 2.203e-05/0.8456, allocations: 1.125 kB / 0.8554 GB, free: 7.707 MB / 0.5919 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.002731/0.8484, allocations: 1.709 MB / 0.857 GB, free: 6.012 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.172e-05/0.8484, allocations: 12.03 kB / 0.8571 GB, free: 6 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002596/0.851, allocations: 435.4 kB / 0.8575 GB, free: 5.578 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001705/0.8527, allocations: 1.011 MB / 0.8585 GB, free: 4.566 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.062e-05/0.8528, allocations: 69.94 kB / 0.8585 GB, free: 4.496 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001382/0.8529, allocations: 87.89 kB / 0.8586 GB, free: 4.41 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001442/0.8544, allocations: 0.8624 MB / 0.8595 GB, free: 3.543 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.122e-05/0.8544, allocations: 0 / 0.8595 GB, free: 3.543 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.375e-05/0.8545, allocations: 32 kB / 0.8595 GB, free: 3.512 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.417e-05/0.8546, allocations: 33.94 kB / 0.8595 GB, free: 3.48 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00141/0.856, allocations: 0.8106 MB / 0.8603 GB, free: 2.668 MB / 0.5919 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.004632/0.8606, allocations: 3.642 MB / 0.8639 GB, free: 14.82 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001413/0.862, allocations: 1.092 MB / 0.8649 GB, free: 13.62 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005768/0.8626, allocations: 368.8 kB / 0.8653 GB, free: 13.26 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006675/0.8633, allocations: 411.1 kB / 0.8657 GB, free: 12.78 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.066e-05/0.8634, allocations: 39.12 kB / 0.8657 GB, free: 12.73 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=60): time 2.405e-06/0.8634, allocations: 0 / 0.8657 GB, free: 12.73 MB / 0.6075 GB Notification: Performance of matching and sorting (n=60): time 0.001977/0.8653, allocations: 0.9569 MB / 0.8666 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.505e-05/0.8654, allocations: 55.97 kB / 0.8667 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009992/0.8664, allocations: 0.84 MB / 0.8675 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.713e-05/0.8665, allocations: 41.69 kB / 0.8676 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003468/0.8668, allocations: 483.4 kB / 0.868 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001725/0.867, allocations: 215 kB / 0.8682 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001871/0.8672, allocations: 110.2 kB / 0.8683 GB, free: 9.996 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001142/0.8673, allocations: 337.8 kB / 0.8687 GB, free: 9.66 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004738/0.8678, allocations: 255 kB / 0.8689 GB, free: 9.406 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005599/0.8684, allocations: 370.1 kB / 0.8692 GB, free: 9.016 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000998/0.8694, allocations: 0.5863 MB / 0.8698 GB, free: 8.418 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.866e-06/0.8694, allocations: 0 / 0.8698 GB, free: 8.418 MB / 0.6075 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001256/0.8707, allocations: 0.7332 MB / 0.8705 GB, free: 7.684 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.496e-05/0.8707, allocations: 4 kB / 0.8705 GB, free: 7.68 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.8707, allocations: 0 / 0.8705 GB, free: 7.68 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.542e-05/0.8707, allocations: 4 kB / 0.8705 GB, free: 7.676 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005706/0.8713, allocations: 131.7 kB / 0.8707 GB, free: 7.555 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.087e-06/0.8713, allocations: 12.06 kB / 0.8707 GB, free: 7.543 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007032/0.872, allocations: 71.39 kB / 0.8708 GB, free: 7.473 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.241e-05/0.8721, allocations: 27.94 kB / 0.8708 GB, free: 7.445 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007589/0.8728, allocations: 495.6 kB / 0.8712 GB, free: 6.957 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005252/0.8734, allocations: 363.5 kB / 0.8716 GB, free: 6.574 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000963/0.8744, allocations: 0.5825 MB / 0.8722 GB, free: 5.977 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.814e-06/0.8744, allocations: 0 / 0.8722 GB, free: 5.977 MB / 0.6075 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.001197/0.8756, allocations: 0.7216 MB / 0.8729 GB, free: 5.258 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 9.858e-06/0.8756, allocations: 4 kB / 0.8729 GB, free: 5.254 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.605e-06/0.8756, allocations: 2.531 kB / 0.8729 GB, free: 5.254 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.552e-06/0.8756, allocations: 8 kB / 0.8729 GB, free: 5.246 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005233/0.8761, allocations: 121.1 kB / 0.873 GB, free: 5.133 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.384e-06/0.8761, allocations: 6.438 kB / 0.873 GB, free: 5.129 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006673/0.8768, allocations: 71.64 kB / 0.8731 GB, free: 5.059 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.262e-05/0.8769, allocations: 20 kB / 0.8731 GB, free: 5.039 MB / 0.6075 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.0001657/0.8771, allocations: 209.4 kB / 0.8733 GB, free: 4.832 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001622/0.8772, allocations: 102.8 kB / 0.8734 GB, free: 4.73 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00134/0.8786, allocations: 0.7417 MB / 0.8741 GB, free: 3.984 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.191e-06/0.8786, allocations: 8 kB / 0.8741 GB, free: 3.977 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.8786, allocations: 0 / 0.8741 GB, free: 3.977 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001125/0.8797, allocations: 0.9058 MB / 0.875 GB, free: 2.984 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003282/0.883, allocations: 2.244 MB / 0.8772 GB, free: 0.6328 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.54e-06/0.883, allocations: 6.531 kB / 0.8772 GB, free: 0.6289 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006298/0.8837, allocations: 133.1 kB / 0.8773 GB, free: 0.5039 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.834e-06/0.8837, allocations: 4 kB / 0.8773 GB, free: 0.5 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.724e-05/0.8837, allocations: 24.41 kB / 0.8774 GB, free: 488 kB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.353e-06/0.8838, allocations: 14.52 kB / 0.8774 GB, free: 476 kB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.102e-06/0.8838, allocations: 15.92 kB / 0.8774 GB, free: 460 kB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00181/0.8856, allocations: 1.227 MB / 0.8786 GB, free: 15.17 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004112/0.886, allocations: 259.7 kB / 0.8788 GB, free: 14.9 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000125/0.8861, allocations: 16 kB / 0.8788 GB, free: 14.88 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000647/0.8868, allocations: 39.95 kB / 0.8789 GB, free: 14.84 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001036/0.8869, allocations: 54.84 kB / 0.8789 GB, free: 14.79 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.523e-05/0.887, allocations: 20 kB / 0.879 GB, free: 14.77 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0007211/0.8877, allocations: 0.5862 MB / 0.8795 GB, free: 14.18 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.91e-07/0.8877, allocations: 2.531 kB / 0.8795 GB, free: 14.18 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001175/0.8889, allocations: 0.5338 MB / 0.8801 GB, free: 13.64 MB / 0.6231 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.0005078/0.8894, allocations: 243.2 kB / 0.8803 GB, free: 13.42 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.00169/0.8911, allocations: 0.9459 MB / 0.8812 GB, free: 12.5 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/0.8911, allocations: 6.625 kB / 0.8812 GB, free: 12.49 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0005663/0.8917, allocations: 341 kB / 0.8815 GB, free: 12.18 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002343/0.894, allocations: 0.6109 MB / 0.8821 GB, free: 11.6 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003029/0.8971, allocations: 2.127 MB / 0.8842 GB, free: 9.418 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006666/0.8978, allocations: 1.124 MB / 0.8853 GB, free: 8.262 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0009084/0.8987, allocations: 304 kB / 0.8856 GB, free: 7.961 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002149/0.8989, allocations: 83.42 kB / 0.8857 GB, free: 7.879 MB / 0.6231 GB Notification: Performance of SimCode: time 1.002e-06/0.8989, allocations: 0 / 0.8857 GB, free: 7.879 MB / 0.6231 GB Notification: Performance of Templates: time 0.03101/0.9299, allocations: 20.42 MB / 0.9056 GB, free: 3.867 MB / 0.6387 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 -s gbode -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.FlowJunction.pipe 2>&1)