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.001361/0.001361, allocations: 101.6 kB / 15.98 MB, free: 6.355 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.001388/0.001388, allocations: 197.3 kB / 16.91 MB, free: 6.188 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.376/1.376, allocations: 222.9 MB / 240.6 MB, free: 13.73 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.869/0.869, allocations: 143.1 MB / 433.8 MB, free: 12.26 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001429/0.001429, allocations: 55.91 kB / 0.5143 GB, free: 15.55 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3882/0.3896, allocations: 82.03 MB / 0.5944 GB, free: 16.39 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.FlowJunction): time 0.609/0.9987, allocations: 237.1 MB / 0.826 GB, free: 0.7734 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0117/1.01, allocations: 7.186 MB / 0.833 GB, free: 15.93 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002489/1.013, allocations: 47.44 kB / 0.833 GB, free: 15.93 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.002393/1.015, allocations: 0.6082 MB / 0.8336 GB, free: 15.78 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.00621/1.022, allocations: 1.955 MB / 0.8355 GB, free: 15.32 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.005589/1.027, allocations: 1.876 MB / 0.8374 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.006059/1.033, allocations: 3.282 MB / 0.8406 GB, free: 13.79 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001921/1.035, allocations: 1.104 MB / 0.8417 GB, free: 13.32 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004603/1.04, allocations: 1.788 MB / 0.8434 GB, free: 12.82 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002543/1.042, allocations: 1.026 MB / 0.8444 GB, free: 12.51 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0002859/1.043, allocations: 122 kB / 0.8445 GB, free: 12.51 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006045/1.049, allocations: 2.586 MB / 0.8471 GB, free: 11.63 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0008106/1.05, allocations: 464 kB / 0.8475 GB, free: 11.32 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001334/1.051, allocations: 0.7245 MB / 0.8482 GB, free: 10.86 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.003613/1.055, allocations: 2.092 MB / 0.8502 GB, free: 9.629 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/1.055, allocations: 0 / 0.8502 GB, free: 9.629 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.483e-06/1.055, allocations: 0 / 0.8502 GB, free: 9.629 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 2.315e-05/1.055, allocations: 2.719 kB / 0.8502 GB, free: 9.629 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.003091/1.058, allocations: 1.712 MB / 0.8519 GB, free: 8.355 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.351e-05/1.058, allocations: 8.688 kB / 0.8519 GB, free: 8.355 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002707/1.061, allocations: 425.6 kB / 0.8523 GB, free: 8.168 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001686/1.062, allocations: 0.9661 MB / 0.8533 GB, free: 7.34 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.317e-05/1.062, allocations: 65.98 kB / 0.8533 GB, free: 7.273 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001347/1.062, allocations: 91.89 kB / 0.8534 GB, free: 7.184 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001563/1.064, allocations: 0.861 MB / 0.8543 GB, free: 6.32 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.382e-05/1.064, allocations: 0 / 0.8543 GB, free: 6.32 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.354e-05/1.064, allocations: 36 kB / 0.8543 GB, free: 6.285 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.663e-05/1.064, allocations: 30 kB / 0.8543 GB, free: 6.258 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001389/1.066, allocations: 0.808 MB / 0.8551 GB, free: 5.445 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.004836/1.07, allocations: 3.631 MB / 0.8587 GB, free: 1.605 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001518/1.072, allocations: 1.092 MB / 0.8597 GB, free: 416 kB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005718/1.073, allocations: 370.2 kB / 0.8601 GB, free: 44 kB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007172/1.073, allocations: 411.8 kB / 0.8605 GB, free: 15.57 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.803e-05/1.073, allocations: 39.12 kB / 0.8605 GB, free: 15.52 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=60): time 2.665e-06/1.073, allocations: 0 / 0.8605 GB, free: 15.52 MB / 0.6075 GB Notification: Performance of matching and sorting (n=60): time 0.002125/1.075, allocations: 0.957 MB / 0.8615 GB, free: 14.56 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.384e-05/1.076, allocations: 59.91 kB / 0.8615 GB, free: 14.49 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001234/1.077, allocations: 0.8322 MB / 0.8623 GB, free: 13.63 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 7.435e-05/1.077, allocations: 41.7 kB / 0.8624 GB, free: 13.59 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003764/1.077, allocations: 484.1 kB / 0.8628 GB, free: 13.11 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002179/1.077, allocations: 211.2 kB / 0.863 GB, free: 12.9 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002045/1.078, allocations: 122.2 kB / 0.8631 GB, free: 12.78 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001302/1.078, allocations: 333.9 kB / 0.8635 GB, free: 12.45 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004842/1.078, allocations: 257.5 kB / 0.8637 GB, free: 12.19 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005672/1.079, allocations: 363.5 kB / 0.8641 GB, free: 11.81 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001025/1.08, allocations: 0.5903 MB / 0.8646 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/1.08, allocations: 0 / 0.8646 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001414/1.081, allocations: 0.7356 MB / 0.8653 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.246e-05/1.081, allocations: 4 kB / 0.8654 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.708e-06/1.081, allocations: 8.125 kB / 0.8654 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.004e-05/1.081, allocations: 4 kB / 0.8654 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005723/1.082, allocations: 125.1 kB / 0.8655 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.596e-05/1.082, allocations: 6.438 kB / 0.8655 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001075/1.083, allocations: 131.3 kB / 0.8656 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.757e-05/1.083, allocations: 24 kB / 0.8656 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008502/1.084, allocations: 0.4892 MB / 0.8661 GB, free: 9.688 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005538/1.085, allocations: 359.5 kB / 0.8665 GB, free: 9.305 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009467/1.086, allocations: 0.5825 MB / 0.867 GB, free: 8.711 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.797e-06/1.086, allocations: 3.984 kB / 0.867 GB, free: 8.707 MB / 0.6075 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.001334/1.087, allocations: 0.7162 MB / 0.8677 GB, free: 7.992 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.305e-05/1.087, allocations: 11.98 kB / 0.8677 GB, free: 7.98 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.531e-06/1.087, allocations: 4 kB / 0.8677 GB, free: 7.977 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.793e-06/1.087, allocations: 4 kB / 0.8677 GB, free: 7.973 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005309/1.088, allocations: 127.6 kB / 0.8679 GB, free: 7.855 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.098e-05/1.088, allocations: 4 kB / 0.8679 GB, free: 7.852 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001039/1.089, allocations: 123.6 kB / 0.868 GB, free: 7.73 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.466e-05/1.089, allocations: 20 kB / 0.868 GB, free: 7.711 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.0002476/1.089, allocations: 215.9 kB / 0.8682 GB, free: 7.5 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000234/1.089, allocations: 102.8 kB / 0.8683 GB, free: 7.398 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001484/1.091, allocations: 0.7457 MB / 0.869 GB, free: 6.648 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.426e-06/1.091, allocations: 8 kB / 0.869 GB, free: 6.641 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/1.091, allocations: 0 / 0.869 GB, free: 6.641 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001154/1.092, allocations: 0.9034 MB / 0.8699 GB, free: 5.648 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003843/1.096, allocations: 2.254 MB / 0.8721 GB, free: 3.293 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.124e-05/1.096, allocations: 4 kB / 0.8721 GB, free: 3.289 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006589/1.096, allocations: 135.6 kB / 0.8723 GB, free: 3.164 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.529e-05/1.096, allocations: 4 kB / 0.8723 GB, free: 3.16 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.762e-05/1.096, allocations: 16 kB / 0.8723 GB, free: 3.145 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.258e-05/1.096, allocations: 12 kB / 0.8723 GB, free: 3.133 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.026e-05/1.097, allocations: 12.31 kB / 0.8723 GB, free: 3.125 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001925/1.098, allocations: 1.223 MB / 0.8735 GB, free: 1.855 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006187/1.099, allocations: 263.7 kB / 0.8738 GB, free: 1.578 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002088/1.099, allocations: 12 kB / 0.8738 GB, free: 1.566 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009863/1.1, allocations: 103.7 kB / 0.8739 GB, free: 1.465 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001213/1.1, allocations: 46.86 kB / 0.8739 GB, free: 1.422 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.617e-05/1.1, allocations: 23.98 kB / 0.8739 GB, free: 1.398 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0009346/1.101, allocations: 0.5862 MB / 0.8745 GB, free: 0.8008 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.51e-07/1.101, allocations: 0 / 0.8745 GB, free: 0.8008 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001729/1.103, allocations: 0.5338 MB / 0.875 GB, free: 272 kB / 0.6075 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.0006817/1.104, allocations: 240.7 kB / 0.8753 GB, free: 48 kB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002105/1.106, allocations: 1.009 MB / 0.8762 GB, free: 15.07 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 7.654e-06/1.106, allocations: 0.5 kB / 0.8762 GB, free: 15.07 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0005877/1.107, allocations: 344.3 kB / 0.8766 GB, free: 14.75 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00287/1.109, allocations: 0.5987 MB / 0.8772 GB, free: 14.18 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004217/1.114, allocations: 2.619 MB / 0.8797 GB, free: 11.5 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008708/1.115, allocations: 1.128 MB / 0.8808 GB, free: 10.34 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003363/1.115, allocations: 83.42 kB / 0.8809 GB, free: 10.26 MB / 0.6231 GB Notification: Performance of SimCode: time 8.91e-07/1.115, allocations: 0 / 0.8809 GB, free: 10.26 MB / 0.6231 GB Notification: Performance of Templates: time 0.02803/1.143, allocations: 17.1 MB / 0.8976 GB, free: 9.363 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 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.FlowJunction.pipe 2>&1)