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.001084/0.001084, allocations: 115.6 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.001119/0.001119, allocations: 191.6 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.301/1.301, allocations: 222.9 MB / 241 MB, free: 15.17 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.8548/0.8548, allocations: 143.1 MB / 434.2 MB, free: 12.04 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001251/0.001251, allocations: 63.91 kB / 0.5156 GB, free: 14.49 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3415/0.3428, allocations: 82.03 MB / 0.5957 GB, free: 16.18 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.FlowJunction): time 0.6523/0.9952, allocations: 240.1 MB / 0.8302 GB, free: 0.5938 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0121/1.007, allocations: 7.217 MB / 0.8372 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002176/1.01, allocations: 53.31 kB / 0.8373 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.002099/1.012, allocations: 0.7051 MB / 0.838 GB, free: 15.03 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.006003/1.018, allocations: 2.07 MB / 0.84 GB, free: 14.58 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.005531/1.023, allocations: 2.03 MB / 0.842 GB, free: 13.98 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.004908/1.028, allocations: 3.283 MB / 0.8452 GB, free: 12.93 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001697/1.03, allocations: 1.134 MB / 0.8463 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004332/1.034, allocations: 1.794 MB / 0.848 GB, free: 11.48 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001659/1.036, allocations: 0.9623 MB / 0.849 GB, free: 11.02 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001599/1.036, allocations: 121.9 kB / 0.8491 GB, free: 11.02 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005511/1.042, allocations: 2.484 MB / 0.8515 GB, free: 10.13 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.000522/1.042, allocations: 463.6 kB / 0.8519 GB, free: 9.824 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0008745/1.043, allocations: 0.7235 MB / 0.8526 GB, free: 9.367 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.004861/1.048, allocations: 2.77 MB / 0.8554 GB, free: 7.738 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.973e-06/1.048, allocations: 6.531 kB / 0.8554 GB, free: 7.734 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.743e-06/1.048, allocations: 0 / 0.8554 GB, free: 7.734 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.951e-05/1.048, allocations: 0 / 0.8554 GB, free: 7.734 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.002971/1.051, allocations: 1.716 MB / 0.857 GB, free: 6.043 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.589e-05/1.051, allocations: 8.031 kB / 0.857 GB, free: 6.035 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002553/1.054, allocations: 425.6 kB / 0.8575 GB, free: 5.621 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00179/1.055, allocations: 1.022 MB / 0.8584 GB, free: 4.598 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.812e-05/1.055, allocations: 62 kB / 0.8585 GB, free: 4.535 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001508/1.056, allocations: 86.88 kB / 0.8586 GB, free: 4.453 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001477/1.057, allocations: 0.8624 MB / 0.8594 GB, free: 3.586 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.1e-05/1.057, allocations: 2.531 kB / 0.8594 GB, free: 3.586 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001084/1.057, allocations: 32 kB / 0.8595 GB, free: 3.555 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.124e-05/1.057, allocations: 49.86 kB / 0.8595 GB, free: 3.508 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001445/1.059, allocations: 0.8002 MB / 0.8603 GB, free: 2.703 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.004653/1.063, allocations: 3.642 MB / 0.8639 GB, free: 14.85 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001446/1.065, allocations: 1.094 MB / 0.8649 GB, free: 13.65 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006113/1.065, allocations: 374.2 kB / 0.8653 GB, free: 13.29 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007552/1.066, allocations: 404.3 kB / 0.8657 GB, free: 12.82 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.792e-05/1.066, allocations: 47.12 kB / 0.8657 GB, free: 12.76 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=60): time 2.104e-06/1.066, allocations: 4 kB / 0.8657 GB, free: 12.76 MB / 0.6075 GB Notification: Performance of matching and sorting (n=60): time 0.001968/1.068, allocations: 0.9491 MB / 0.8666 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.075e-05/1.068, allocations: 63.97 kB / 0.8667 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001006/1.069, allocations: 0.836 MB / 0.8675 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.618e-05/1.069, allocations: 41.7 kB / 0.8676 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003386/1.07, allocations: 480.1 kB / 0.868 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001684/1.07, allocations: 215.8 kB / 0.8682 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001788/1.07, allocations: 110.2 kB / 0.8683 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001121/1.07, allocations: 329.9 kB / 0.8686 GB, free: 9.695 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004683/1.071, allocations: 261.6 kB / 0.8689 GB, free: 9.438 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005456/1.071, allocations: 363.5 kB / 0.8692 GB, free: 9.051 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009748/1.072, allocations: 0.5902 MB / 0.8698 GB, free: 8.449 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.27e-06/1.072, allocations: 8 kB / 0.8698 GB, free: 8.441 MB / 0.6075 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001241/1.073, allocations: 0.7318 MB / 0.8705 GB, free: 7.711 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.729e-05/1.073, allocations: 8 kB / 0.8705 GB, free: 7.703 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.132e-06/1.073, allocations: 0 / 0.8705 GB, free: 7.703 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.982e-05/1.073, allocations: 4 kB / 0.8705 GB, free: 7.699 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005598/1.074, allocations: 125.1 kB / 0.8707 GB, free: 7.582 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.11e-05/1.074, allocations: 6.531 kB / 0.8707 GB, free: 7.578 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007063/1.075, allocations: 75.39 kB / 0.8707 GB, free: 7.504 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.345e-05/1.075, allocations: 25.34 kB / 0.8708 GB, free: 7.48 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000752/1.076, allocations: 0.4893 MB / 0.8712 GB, free: 6.984 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005551/1.076, allocations: 363.5 kB / 0.8716 GB, free: 6.602 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009534/1.077, allocations: 0.5747 MB / 0.8722 GB, free: 6.012 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.028e-06/1.077, allocations: 4 kB / 0.8722 GB, free: 6.008 MB / 0.6075 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.001186/1.078, allocations: 0.7201 MB / 0.8729 GB, free: 5.293 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.029e-05/1.078, allocations: 8 kB / 0.8729 GB, free: 5.285 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.585e-06/1.078, allocations: 0 / 0.8729 GB, free: 5.285 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.26e-06/1.078, allocations: 4 kB / 0.8729 GB, free: 5.281 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005276/1.079, allocations: 123.5 kB / 0.873 GB, free: 5.168 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/1.079, allocations: 4 kB / 0.873 GB, free: 5.164 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006509/1.08, allocations: 71.67 kB / 0.8731 GB, free: 5.094 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.407e-05/1.08, allocations: 23.98 kB / 0.8731 GB, free: 5.07 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.0001622/1.08, allocations: 212.1 kB / 0.8733 GB, free: 4.863 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001529/1.08, allocations: 98.78 kB / 0.8734 GB, free: 4.766 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001365/1.081, allocations: 0.7456 MB / 0.8741 GB, free: 4.016 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.434e-06/1.081, allocations: 8 kB / 0.8741 GB, free: 4.008 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/1.081, allocations: 3.984 kB / 0.8741 GB, free: 4.004 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001109/1.082, allocations: 0.8995 MB / 0.875 GB, free: 3.016 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003216/1.086, allocations: 2.251 MB / 0.8772 GB, free: 0.6602 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.224e-06/1.086, allocations: 4 kB / 0.8772 GB, free: 0.6562 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006196/1.086, allocations: 135.9 kB / 0.8773 GB, free: 0.5312 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.726e-06/1.086, allocations: 8 kB / 0.8773 GB, free: 0.5234 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.026e-05/1.086, allocations: 23.98 kB / 0.8774 GB, free: 0.5 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.343e-06/1.086, allocations: 8 kB / 0.8774 GB, free: 0.4922 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.01e-06/1.086, allocations: 6.625 kB / 0.8774 GB, free: 500 kB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001832/1.088, allocations: 1.225 MB / 0.8786 GB, free: 15.21 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000415/1.089, allocations: 259.7 kB / 0.8788 GB, free: 14.94 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001159/1.089, allocations: 18.52 kB / 0.8788 GB, free: 14.92 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006499/1.089, allocations: 43.95 kB / 0.8789 GB, free: 14.88 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001272/1.09, allocations: 50.86 kB / 0.8789 GB, free: 14.83 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.564e-05/1.09, allocations: 23.98 kB / 0.8789 GB, free: 14.81 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0007755/1.09, allocations: 0.5862 MB / 0.8795 GB, free: 14.21 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.3e-07/1.09, allocations: 0 / 0.8795 GB, free: 14.21 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001248/1.092, allocations: 0.526 MB / 0.88 GB, free: 13.68 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.0005466/1.092, allocations: 258 kB / 0.8803 GB, free: 13.45 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001742/1.094, allocations: 0.946 MB / 0.8812 GB, free: 12.52 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.087e-06/1.094, allocations: 0.5 kB / 0.8812 GB, free: 12.52 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.000555/1.095, allocations: 344.3 kB / 0.8815 GB, free: 12.21 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002295/1.097, allocations: 0.6073 MB / 0.8821 GB, free: 11.63 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003114/1.1, allocations: 2.133 MB / 0.8842 GB, free: 9.445 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007709/1.101, allocations: 1.124 MB / 0.8853 GB, free: 8.289 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0009546/1.102, allocations: 304 kB / 0.8856 GB, free: 7.988 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002116/1.102, allocations: 79.44 kB / 0.8857 GB, free: 7.91 MB / 0.6231 GB Notification: Performance of SimCode: time 1.693e-06/1.102, allocations: 0 / 0.8857 GB, free: 7.91 MB / 0.6231 GB Notification: Performance of Templates: time 0.03243/1.134, allocations: 20.42 MB / 0.9056 GB, free: 3.902 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 cvode -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.FlowJunction.pipe 2>&1)