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.007758/0.007758, allocations: 102 kB / 15.73 MB, free: 6.051 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.001489/0.001489, allocations: 195 kB / 16.68 MB, free: 5.969 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.39/1.39, allocations: 222.9 MB / 240.4 MB, free: 4.18 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.067/1.067, allocations: 143 MB / 433.6 MB, free: 11.4 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00154/0.00154, allocations: 59.91 kB / 0.5955 GB, free: 8.402 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4652/0.4668, allocations: 82.03 MB / 0.6756 GB, free: 1.668 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.FlowJunction): time 0.6887/1.156, allocations: 240.1 MB / 0.9101 GB, free: 19.58 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.01018/1.166, allocations: 7.227 MB / 0.9171 GB, free: 19.46 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001928/1.168, allocations: 50.34 kB / 0.9172 GB, free: 19.46 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.001801/1.17, allocations: 0.7013 MB / 0.9179 GB, free: 19.45 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.005369/1.175, allocations: 2.07 MB / 0.9199 GB, free: 19.37 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.00476/1.18, allocations: 2.038 MB / 0.9219 GB, free: 19.3 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.004327/1.184, allocations: 3.27 MB / 0.9251 GB, free: 19.3 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001915/1.186, allocations: 1.136 MB / 0.9262 GB, free: 19.19 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004295/1.19, allocations: 1.823 MB / 0.928 GB, free: 19.16 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002186/1.193, allocations: 0.9673 MB / 0.9289 GB, free: 19.09 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0003652/1.193, allocations: 121.2 kB / 0.929 GB, free: 19.09 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005191/1.198, allocations: 2.486 MB / 0.9315 GB, free: 19.07 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0007515/1.199, allocations: 457.8 kB / 0.9319 GB, free: 19.02 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.001384/1.2, allocations: 0.7162 MB / 0.9326 GB, free: 18.82 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.005517/1.206, allocations: 2.788 MB / 0.9353 GB, free: 18.52 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 7.785e-06/1.206, allocations: 2.859 kB / 0.9353 GB, free: 18.52 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.154e-06/1.206, allocations: 2.438 kB / 0.9353 GB, free: 18.52 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 3.765e-05/1.206, allocations: 0.9062 kB / 0.9353 GB, free: 18.52 MB / 0.6856 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.003073/1.209, allocations: 1.715 MB / 0.937 GB, free: 17.6 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.68e-05/1.209, allocations: 8.531 kB / 0.937 GB, free: 17.6 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002688/1.212, allocations: 430.1 kB / 0.9374 GB, free: 17.53 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001664/1.213, allocations: 1.014 MB / 0.9384 GB, free: 17.18 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.605e-05/1.214, allocations: 61.25 kB / 0.9385 GB, free: 17.18 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001475/1.214, allocations: 83.41 kB / 0.9385 GB, free: 17.18 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001515/1.215, allocations: 0.8728 MB / 0.9394 GB, free: 17.12 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.572e-05/1.215, allocations: 3.906 kB / 0.9394 GB, free: 17.11 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.968e-05/1.215, allocations: 32.53 kB / 0.9394 GB, free: 17.11 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.275e-05/1.215, allocations: 30.03 kB / 0.9395 GB, free: 17.11 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001314/1.217, allocations: 0.8058 MB / 0.9402 GB, free: 17.1 MB / 0.6856 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.004335/1.221, allocations: 3.649 MB / 0.9438 GB, free: 15.48 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001336/1.222, allocations: 1.089 MB / 0.9449 GB, free: 14.89 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005413/1.223, allocations: 369.3 kB / 0.9452 GB, free: 14.88 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006496/1.224, allocations: 408.4 kB / 0.9456 GB, free: 14.5 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.429e-05/1.224, allocations: 43.62 kB / 0.9457 GB, free: 14.46 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=60): time 2.465e-06/1.224, allocations: 0 / 0.9457 GB, free: 14.46 MB / 0.6856 GB Notification: Performance of matching and sorting (n=60): time 0.002009/1.226, allocations: 0.9571 MB / 0.9466 GB, free: 14.36 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.722e-05/1.226, allocations: 59.53 kB / 0.9467 GB, free: 14.3 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009959/1.227, allocations: 0.8358 MB / 0.9475 GB, free: 13.98 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 7.117e-05/1.227, allocations: 39.7 kB / 0.9475 GB, free: 13.94 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002637/1.227, allocations: 483.9 kB / 0.948 GB, free: 13.57 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001824/1.227, allocations: 218.5 kB / 0.9482 GB, free: 13.4 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001612/1.227, allocations: 110.8 kB / 0.9483 GB, free: 13.35 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 5.21e-05/1.228, allocations: 331.3 kB / 0.9486 GB, free: 13.04 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000418/1.228, allocations: 254 kB / 0.9488 GB, free: 12.95 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004855/1.228, allocations: 364.7 kB / 0.9492 GB, free: 12.75 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008788/1.229, allocations: 0.5917 MB / 0.9498 GB, free: 12.49 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.977e-06/1.229, allocations: 0.9688 kB / 0.9498 GB, free: 12.49 MB / 0.6856 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.00122/1.231, allocations: 0.7311 MB / 0.9505 GB, free: 12.2 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.733e-05/1.231, allocations: 5.25 kB / 0.9505 GB, free: 12.2 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/1.231, allocations: 4.312 kB / 0.9505 GB, free: 12.2 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.35e-05/1.231, allocations: 9.062 kB / 0.9505 GB, free: 12.2 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005596/1.231, allocations: 125.9 kB / 0.9506 GB, free: 12.19 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.117e-06/1.231, allocations: 4 kB / 0.9506 GB, free: 12.19 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007433/1.232, allocations: 74.03 kB / 0.9507 GB, free: 12.15 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.143e-05/1.232, allocations: 23.7 kB / 0.9507 GB, free: 12.15 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000719/1.233, allocations: 495.4 kB / 0.9512 GB, free: 11.91 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004863/1.233, allocations: 371 kB / 0.9515 GB, free: 11.72 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008713/1.234, allocations: 0.5756 MB / 0.9521 GB, free: 11.46 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.294e-06/1.234, allocations: 0 / 0.9521 GB, free: 11.46 MB / 0.6856 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.001351/1.235, allocations: 0.7265 MB / 0.9528 GB, free: 11.17 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.38e-05/1.236, allocations: 5.281 kB / 0.9528 GB, free: 11.17 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.519e-06/1.236, allocations: 4.406 kB / 0.9528 GB, free: 11.17 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.662e-06/1.236, allocations: 7.812 kB / 0.9528 GB, free: 11.17 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005566/1.236, allocations: 128.1 kB / 0.953 GB, free: 11.16 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.174e-06/1.236, allocations: 3.25 kB / 0.953 GB, free: 11.16 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000744/1.237, allocations: 69.77 kB / 0.953 GB, free: 11.13 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.546e-05/1.237, allocations: 20.25 kB / 0.953 GB, free: 11.12 MB / 0.6856 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.0001751/1.237, allocations: 214.5 kB / 0.9532 GB, free: 10.93 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001625/1.237, allocations: 104.7 kB / 0.9533 GB, free: 10.88 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001362/1.239, allocations: 0.7364 MB / 0.9541 GB, free: 10.48 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.308e-06/1.239, allocations: 7.438 kB / 0.9541 GB, free: 10.48 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.131e-06/1.239, allocations: 4.25 kB / 0.9541 GB, free: 10.48 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00102/1.24, allocations: 0.9043 MB / 0.955 GB, free: 9.777 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00305/1.243, allocations: 2.242 MB / 0.9571 GB, free: 8.145 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.36e-06/1.243, allocations: 3.375 kB / 0.9572 GB, free: 8.145 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006173/1.243, allocations: 139.5 kB / 0.9573 GB, free: 8.117 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.337e-06/1.243, allocations: 7.656 kB / 0.9573 GB, free: 8.117 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.541e-05/1.243, allocations: 23.23 kB / 0.9573 GB, free: 8.102 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.252e-06/1.243, allocations: 9.5 kB / 0.9573 GB, free: 8.098 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/1.243, allocations: 6.062 kB / 0.9573 GB, free: 8.098 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001563/1.245, allocations: 1.232 MB / 0.9585 GB, free: 7.332 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003388/1.245, allocations: 251.8 kB / 0.9588 GB, free: 7.117 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001253/1.246, allocations: 24.36 kB / 0.9588 GB, free: 7.102 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006509/1.246, allocations: 39.39 kB / 0.9588 GB, free: 7.082 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001042/1.246, allocations: 51.3 kB / 0.9589 GB, free: 7.055 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.303e-05/1.246, allocations: 27.2 kB / 0.9589 GB, free: 7.047 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0006683/1.247, allocations: 0.5845 MB / 0.9595 GB, free: 6.703 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.5e-07/1.247, allocations: 0 / 0.9595 GB, free: 6.703 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001216/1.248, allocations: 0.5361 MB / 0.96 GB, free: 6.598 MB / 0.6856 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.0004705/1.249, allocations: 259.4 kB / 0.9602 GB, free: 6.441 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.001584/1.25, allocations: 0.9473 MB / 0.9612 GB, free: 6.035 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 4.929e-06/1.25, allocations: 0 / 0.9612 GB, free: 6.035 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0005028/1.251, allocations: 344.9 kB / 0.9615 GB, free: 5.895 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002297/1.253, allocations: 0.5937 MB / 0.9621 GB, free: 5.418 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002578/1.256, allocations: 2.128 MB / 0.9642 GB, free: 3.234 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004342/1.256, allocations: 1.131 MB / 0.9653 GB, free: 2.07 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0008768/1.257, allocations: 296 kB / 0.9655 GB, free: 1.777 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001991/1.257, allocations: 79.44 kB / 0.9656 GB, free: 1.699 MB / 0.6856 GB Notification: Performance of SimCode: time 8.12e-07/1.257, allocations: 0 / 0.9656 GB, free: 1.699 MB / 0.6856 GB Notification: Performance of Templates: time 0.03523/1.293, allocations: 20.93 MB / 0.9861 GB, free: 13.17 MB / 0.7169 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)