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.006476/0.006476, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001211/0.001212, allocations: 200.1 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.471/1.471, allocations: 222.9 MB / 240.4 MB, free: 4.199 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.07/1.07, allocations: 143 MB / 433.5 MB, free: 11.4 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001241/0.001241, allocations: 63.91 kB / 0.5955 GB, free: 8.434 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4385/0.4398, allocations: 82.03 MB / 0.6756 GB, free: 1.492 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.FlowJunction): time 0.7047/1.145, allocations: 240.1 MB / 0.9101 GB, free: 19.57 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.01022/1.155, allocations: 7.225 MB / 0.9171 GB, free: 19.46 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001835/1.157, allocations: 51.09 kB / 0.9172 GB, free: 19.46 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.001631/1.158, allocations: 0.6994 MB / 0.9179 GB, free: 19.45 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.004543/1.163, allocations: 2.07 MB / 0.9199 GB, free: 19.36 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.004299/1.167, allocations: 2.037 MB / 0.9219 GB, free: 19.3 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.004844/1.172, allocations: 3.275 MB / 0.9251 GB, free: 19.29 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001701/1.174, allocations: 1.133 MB / 0.9262 GB, free: 19.18 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00496/1.179, allocations: 1.796 MB / 0.9279 GB, free: 19.16 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001711/1.18, allocations: 0.9611 MB / 0.9289 GB, free: 19.08 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.000184/1.181, allocations: 122.5 kB / 0.929 GB, free: 19.08 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004735/1.185, allocations: 2.487 MB / 0.9314 GB, free: 19.05 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0004831/1.186, allocations: 461 kB / 0.9319 GB, free: 19 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0009407/1.187, allocations: 0.7216 MB / 0.9326 GB, free: 18.81 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.005173/1.192, allocations: 2.8 MB / 0.9353 GB, free: 18.49 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 6.602e-06/1.192, allocations: 0 / 0.9353 GB, free: 18.49 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.665e-06/1.192, allocations: 3.469 kB / 0.9353 GB, free: 18.49 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 2.981e-05/1.192, allocations: 0 / 0.9353 GB, free: 18.49 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.003215/1.195, allocations: 1.754 MB / 0.937 GB, free: 17.53 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 6.788e-05/1.195, allocations: 10.69 kB / 0.937 GB, free: 17.53 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002565/1.198, allocations: 423.9 kB / 0.9374 GB, free: 17.46 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001585/1.2, allocations: 1.033 MB / 0.9384 GB, free: 17.09 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.772e-05/1.2, allocations: 64.31 kB / 0.9385 GB, free: 17.09 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001262/1.2, allocations: 81.25 kB / 0.9386 GB, free: 17.09 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001473/1.201, allocations: 0.8658 MB / 0.9394 GB, free: 17.04 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.513e-05/1.201, allocations: 4.031 kB / 0.9394 GB, free: 17.04 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.493e-05/1.201, allocations: 33 kB / 0.9395 GB, free: 17.04 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.606e-05/1.201, allocations: 28.72 kB / 0.9395 GB, free: 17.03 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00137/1.203, allocations: 0.8075 MB / 0.9403 GB, free: 17.02 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.004188/1.207, allocations: 3.652 MB / 0.9438 GB, free: 15.39 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001535/1.209, allocations: 1.101 MB / 0.9449 GB, free: 14.8 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005877/1.209, allocations: 373.1 kB / 0.9453 GB, free: 14.79 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006647/1.21, allocations: 406 kB / 0.9457 GB, free: 14.41 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.458e-05/1.21, allocations: 44.47 kB / 0.9457 GB, free: 14.38 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=60): time 3.216e-06/1.21, allocations: 0 / 0.9457 GB, free: 14.38 MB / 0.6856 GB Notification: Performance of matching and sorting (n=60): time 0.002168/1.212, allocations: 0.9649 MB / 0.9466 GB, free: 14.27 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.268e-05/1.212, allocations: 60.22 kB / 0.9467 GB, free: 14.21 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001042/1.213, allocations: 0.8378 MB / 0.9475 GB, free: 13.88 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 5.17e-05/1.213, allocations: 40.95 kB / 0.9476 GB, free: 13.84 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003362/1.214, allocations: 481.1 kB / 0.948 GB, free: 13.46 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001811/1.214, allocations: 225.9 kB / 0.9482 GB, free: 13.29 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002162/1.214, allocations: 114.7 kB / 0.9483 GB, free: 13.23 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001057/1.214, allocations: 326.7 kB / 0.9487 GB, free: 12.92 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004832/1.215, allocations: 259.2 kB / 0.9489 GB, free: 12.83 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005793/1.215, allocations: 366.7 kB / 0.9493 GB, free: 12.64 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009682/1.216, allocations: 0.5872 MB / 0.9498 GB, free: 12.38 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.938e-06/1.216, allocations: 0 / 0.9498 GB, free: 12.38 MB / 0.6856 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001146/1.217, allocations: 0.7432 MB / 0.9506 GB, free: 12.08 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.896e-05/1.217, allocations: 4.875 kB / 0.9506 GB, free: 12.08 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/1.217, allocations: 0 / 0.9506 GB, free: 12.08 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.281e-05/1.217, allocations: 14.12 kB / 0.9506 GB, free: 12.07 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005369/1.218, allocations: 125.5 kB / 0.9507 GB, free: 12.07 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.007e-05/1.218, allocations: 6.656 kB / 0.9507 GB, free: 12.07 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000758/1.219, allocations: 71.36 kB / 0.9508 GB, free: 12.03 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.459e-05/1.219, allocations: 24.09 kB / 0.9508 GB, free: 12.02 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007706/1.22, allocations: 498.4 kB / 0.9513 GB, free: 11.78 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004906/1.22, allocations: 367.5 kB / 0.9516 GB, free: 11.59 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009573/1.221, allocations: 0.5795 MB / 0.9522 GB, free: 11.33 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.403e-06/1.221, allocations: 0 / 0.9522 GB, free: 11.33 MB / 0.6856 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.001277/1.222, allocations: 0.7297 MB / 0.9529 GB, free: 11.04 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.244e-05/1.222, allocations: 4.844 kB / 0.9529 GB, free: 11.04 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.266e-06/1.222, allocations: 1.188 kB / 0.9529 GB, free: 11.04 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.736e-06/1.222, allocations: 4.906 kB / 0.9529 GB, free: 11.04 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005283/1.223, allocations: 134.1 kB / 0.953 GB, free: 11.04 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/1.223, allocations: 2.562 kB / 0.953 GB, free: 11.04 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007221/1.224, allocations: 65.95 kB / 0.9531 GB, free: 11 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.858e-05/1.224, allocations: 25.39 kB / 0.9531 GB, free: 11 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.0001681/1.224, allocations: 206.4 kB / 0.9533 GB, free: 10.8 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001413/1.224, allocations: 104.4 kB / 0.9534 GB, free: 10.75 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00127/1.225, allocations: 0.7559 MB / 0.9542 GB, free: 10.33 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.73e-06/1.225, allocations: 5.25 kB / 0.9542 GB, free: 10.33 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/1.225, allocations: 0 / 0.9542 GB, free: 10.33 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009771/1.226, allocations: 0.8993 MB / 0.955 GB, free: 9.633 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002791/1.229, allocations: 2.246 MB / 0.9572 GB, free: 8 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.488e-06/1.229, allocations: 2.875 kB / 0.9572 GB, free: 8 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005955/1.23, allocations: 135.1 kB / 0.9574 GB, free: 7.977 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.843e-06/1.23, allocations: 10.25 kB / 0.9574 GB, free: 7.973 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.805e-05/1.23, allocations: 24.78 kB / 0.9574 GB, free: 7.957 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.013e-06/1.23, allocations: 12.25 kB / 0.9574 GB, free: 7.953 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.887e-06/1.23, allocations: 2.875 kB / 0.9574 GB, free: 7.953 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001656/1.231, allocations: 1.235 MB / 0.9586 GB, free: 7.184 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003093/1.232, allocations: 265.7 kB / 0.9589 GB, free: 6.957 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001211/1.232, allocations: 19.66 kB / 0.9589 GB, free: 6.945 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006461/1.233, allocations: 47.08 kB / 0.9589 GB, free: 6.918 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001118/1.233, allocations: 46.7 kB / 0.959 GB, free: 6.898 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.62e-05/1.233, allocations: 23.67 kB / 0.959 GB, free: 6.891 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0006833/1.233, allocations: 0.5856 MB / 0.9596 GB, free: 6.547 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.5e-07/1.233, allocations: 0 / 0.9596 GB, free: 6.547 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001148/1.235, allocations: 0.5447 MB / 0.9601 GB, free: 6.434 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.000473/1.235, allocations: 247.8 kB / 0.9603 GB, free: 6.281 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.001544/1.237, allocations: 0.95 MB / 0.9613 GB, free: 5.875 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/1.237, allocations: 4.062 kB / 0.9613 GB, free: 5.871 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0005085/1.237, allocations: 338.1 kB / 0.9616 GB, free: 5.734 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002335/1.24, allocations: 0.6043 MB / 0.9622 GB, free: 5.211 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002449/1.242, allocations: 2.169 MB / 0.9643 GB, free: 2.984 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004575/1.242, allocations: 1.131 MB / 0.9654 GB, free: 1.82 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0007971/1.243, allocations: 292 kB / 0.9657 GB, free: 1.531 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002111/1.243, allocations: 79.44 kB / 0.9658 GB, free: 1.453 MB / 0.6856 GB Notification: Performance of SimCode: time 2.7e-07/1.243, allocations: 0 / 0.9658 GB, free: 1.453 MB / 0.6856 GB Notification: Performance of Templates: time 0.03284/1.276, allocations: 20.56 MB / 0.9858 GB, free: 13.29 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)