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.005634/0.005634, allocations: 99.05 kB / 15.73 MB, free: 6.004 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.001336/0.001336, allocations: 199.4 kB / 16.68 MB, free: 5.934 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.342/1.342, allocations: 222.9 MB / 240.4 MB, free: 4.336 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 0.962/0.962, allocations: 143 MB / 433.6 MB, free: 11.33 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001178/0.001178, allocations: 59.89 kB / 0.5955 GB, free: 8.379 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.458/0.4592, allocations: 82.03 MB / 0.6756 GB, free: 1.461 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.FlowJunction): time 0.6511/1.11, allocations: 240.1 MB / 0.9101 GB, free: 19.56 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.01056/1.121, allocations: 7.222 MB / 0.9171 GB, free: 19.44 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002046/1.123, allocations: 54.94 kB / 0.9172 GB, free: 19.44 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.001678/1.125, allocations: 0.6979 MB / 0.9179 GB, free: 19.43 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.004818/1.13, allocations: 2.072 MB / 0.9199 GB, free: 19.34 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.004372/1.134, allocations: 2.034 MB / 0.9219 GB, free: 19.28 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.003811/1.138, allocations: 3.279 MB / 0.9251 GB, free: 19.27 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001424/1.139, allocations: 1.13 MB / 0.9262 GB, free: 19.16 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003577/1.143, allocations: 1.814 MB / 0.928 GB, free: 19.14 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001578/1.144, allocations: 0.9696 MB / 0.9289 GB, free: 19.06 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0001575/1.145, allocations: 121.2 kB / 0.929 GB, free: 19.06 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004068/1.149, allocations: 2.487 MB / 0.9315 GB, free: 19.04 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0004196/1.149, allocations: 463.2 kB / 0.9319 GB, free: 18.98 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0007349/1.15, allocations: 0.7215 MB / 0.9326 GB, free: 18.79 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.003896/1.154, allocations: 2.781 MB / 0.9353 GB, free: 18.48 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/1.154, allocations: 0 / 0.9353 GB, free: 18.48 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.913e-06/1.154, allocations: 0 / 0.9353 GB, free: 18.48 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 2.043e-05/1.154, allocations: 0.9062 kB / 0.9353 GB, free: 18.48 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.002598/1.156, allocations: 1.713 MB / 0.937 GB, free: 17.57 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.001e-05/1.156, allocations: 11.41 kB / 0.937 GB, free: 17.57 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002502/1.159, allocations: 424.9 kB / 0.9374 GB, free: 17.5 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001552/1.16, allocations: 1.018 MB / 0.9384 GB, free: 17.15 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.507e-05/1.161, allocations: 61.34 kB / 0.9385 GB, free: 17.15 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001333/1.161, allocations: 83.94 kB / 0.9385 GB, free: 17.15 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001453/1.162, allocations: 0.8667 MB / 0.9394 GB, free: 17.09 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.231e-05/1.162, allocations: 4.781 kB / 0.9394 GB, free: 17.09 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.907e-05/1.162, allocations: 34.12 kB / 0.9394 GB, free: 17.09 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.125e-05/1.162, allocations: 30.19 kB / 0.9395 GB, free: 17.08 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001361/1.164, allocations: 0.8089 MB / 0.9403 GB, free: 17.07 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.004136/1.168, allocations: 3.648 MB / 0.9438 GB, free: 15.45 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001274/1.169, allocations: 1.095 MB / 0.9449 GB, free: 14.86 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005309/1.17, allocations: 369 kB / 0.9452 GB, free: 14.85 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005892/1.17, allocations: 406.5 kB / 0.9456 GB, free: 14.47 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.593e-05/1.17, allocations: 43.53 kB / 0.9457 GB, free: 14.43 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=60): time 2.185e-06/1.17, allocations: 0 / 0.9457 GB, free: 14.43 MB / 0.6856 GB Notification: Performance of matching and sorting (n=60): time 0.001897/1.172, allocations: 0.9621 MB / 0.9466 GB, free: 14.3 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.691e-05/1.172, allocations: 60.36 kB / 0.9467 GB, free: 14.23 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008719/1.173, allocations: 0.8335 MB / 0.9475 GB, free: 13.89 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 5.008e-05/1.173, allocations: 46.48 kB / 0.9475 GB, free: 13.84 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.000251/1.173, allocations: 474.7 kB / 0.948 GB, free: 13.48 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001419/1.174, allocations: 216.8 kB / 0.9482 GB, free: 13.31 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001651/1.174, allocations: 112.4 kB / 0.9483 GB, free: 13.25 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 5.238e-05/1.174, allocations: 327.8 kB / 0.9486 GB, free: 12.94 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004173/1.174, allocations: 252.7 kB / 0.9488 GB, free: 12.85 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004738/1.175, allocations: 372.4 kB / 0.9492 GB, free: 12.66 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008734/1.176, allocations: 0.5854 MB / 0.9498 GB, free: 12.4 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/1.176, allocations: 3.938 kB / 0.9498 GB, free: 12.39 MB / 0.6856 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.00111/1.177, allocations: 0.7343 MB / 0.9505 GB, free: 12.1 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.885e-05/1.177, allocations: 5.531 kB / 0.9505 GB, free: 12.1 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/1.177, allocations: 0.9375 kB / 0.9505 GB, free: 12.1 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.867e-05/1.177, allocations: 8.5 kB / 0.9505 GB, free: 12.1 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005266/1.177, allocations: 128.5 kB / 0.9506 GB, free: 12.09 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.126e-06/1.177, allocations: 5.906 kB / 0.9506 GB, free: 12.09 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007102/1.178, allocations: 72.48 kB / 0.9507 GB, free: 12.06 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.806e-05/1.178, allocations: 23.23 kB / 0.9507 GB, free: 12.05 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006794/1.179, allocations: 495.2 kB / 0.9512 GB, free: 11.81 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004797/1.179, allocations: 361.5 kB / 0.9515 GB, free: 11.63 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009261/1.18, allocations: 0.5826 MB / 0.9521 GB, free: 11.37 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.284e-06/1.18, allocations: 3.984 kB / 0.9521 GB, free: 11.36 MB / 0.6856 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.001136/1.181, allocations: 0.7266 MB / 0.9528 GB, free: 11.08 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 8.596e-06/1.181, allocations: 5.562 kB / 0.9528 GB, free: 11.08 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.765e-06/1.181, allocations: 0 / 0.9528 GB, free: 11.08 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.588e-06/1.181, allocations: 2.719 kB / 0.9528 GB, free: 11.08 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005085/1.182, allocations: 133.6 kB / 0.953 GB, free: 11.07 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/1.182, allocations: 4.781 kB / 0.953 GB, free: 11.07 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006912/1.183, allocations: 66.64 kB / 0.953 GB, free: 11.04 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.016e-05/1.183, allocations: 24.06 kB / 0.953 GB, free: 11.03 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.000145/1.183, allocations: 212.3 kB / 0.9532 GB, free: 10.83 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001281/1.183, allocations: 103.8 kB / 0.9533 GB, free: 10.78 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001236/1.184, allocations: 0.7464 MB / 0.9541 GB, free: 10.36 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.971e-06/1.184, allocations: 5.344 kB / 0.9541 GB, free: 10.36 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/1.184, allocations: 3.094 kB / 0.9541 GB, free: 10.36 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009146/1.185, allocations: 0.9005 MB / 0.955 GB, free: 9.66 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002773/1.188, allocations: 2.25 MB / 0.9572 GB, free: 8.023 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.429e-06/1.188, allocations: 6.438 kB / 0.9572 GB, free: 8.02 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005992/1.189, allocations: 134.6 kB / 0.9573 GB, free: 7.996 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.544e-06/1.189, allocations: 5.469 kB / 0.9573 GB, free: 7.996 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.304e-05/1.189, allocations: 30.66 kB / 0.9573 GB, free: 7.977 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.803e-06/1.189, allocations: 8.281 kB / 0.9573 GB, free: 7.977 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/1.189, allocations: 2.969 kB / 0.9573 GB, free: 7.977 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001536/1.19, allocations: 1.224 MB / 0.9585 GB, free: 7.215 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002896/1.19, allocations: 258.6 kB / 0.9588 GB, free: 6.996 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001157/1.191, allocations: 17.41 kB / 0.9588 GB, free: 6.984 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006374/1.191, allocations: 43.17 kB / 0.9588 GB, free: 6.965 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000127/1.191, allocations: 46.86 kB / 0.9589 GB, free: 6.941 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.203e-05/1.191, allocations: 25.7 kB / 0.9589 GB, free: 6.934 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0006455/1.192, allocations: 0.5841 MB / 0.9595 GB, free: 6.59 MB / 0.6856 GB Notification: Performance of sort global known variables: time 7.92e-07/1.192, allocations: 0 / 0.9595 GB, free: 6.59 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001191/1.193, allocations: 0.5417 MB / 0.96 GB, free: 6.48 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.0003802/1.194, allocations: 251.3 kB / 0.9602 GB, free: 6.328 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.001445/1.195, allocations: 0.9426 MB / 0.9612 GB, free: 5.926 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/1.195, allocations: 0 / 0.9612 GB, free: 5.926 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0005038/1.196, allocations: 347.8 kB / 0.9615 GB, free: 5.75 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00225/1.198, allocations: 0.5995 MB / 0.9621 GB, free: 5.16 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002379/1.2, allocations: 2.136 MB / 0.9642 GB, free: 2.969 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004114/1.201, allocations: 1.12 MB / 0.9653 GB, free: 1.816 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0008339/1.202, allocations: 300.1 kB / 0.9656 GB, free: 1.52 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000192/1.202, allocations: 79.44 kB / 0.9656 GB, free: 1.441 MB / 0.6856 GB Notification: Performance of SimCode: time 5.31e-07/1.202, allocations: 0 / 0.9656 GB, free: 1.441 MB / 0.6856 GB Notification: Performance of Templates: time 0.03172/1.233, allocations: 20.57 MB / 0.9857 GB, free: 13.27 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)