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.007285/0.007285, allocations: 101.3 kB / 15.88 MB, free: 5.867 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.001744/0.001744, allocations: 191.7 kB / 16.79 MB, free: 5.809 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.353/1.353, allocations: 222.9 MB / 240.5 MB, free: 4.445 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.9916/0.9916, allocations: 143 MB / 433.7 MB, free: 11.66 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00123/0.00123, allocations: 67.88 kB / 0.5141 GB, free: 12.13 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1876/0.1889, allocations: 82.04 MB / 0.5943 GB, free: 10.07 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.FlowJunction): time 0.5773/0.7662, allocations: 237.9 MB / 0.8266 GB, free: 15.73 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01185/0.7781, allocations: 7.305 MB / 0.8337 GB, free: 8.41 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002289/0.7804, allocations: 47.69 kB / 0.8337 GB, free: 8.363 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.002304/0.7828, allocations: 0.5828 MB / 0.8343 GB, free: 7.777 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.005762/0.7886, allocations: 1.958 MB / 0.8362 GB, free: 5.812 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.005108/0.7937, allocations: 1.852 MB / 0.838 GB, free: 3.973 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.00547/0.7992, allocations: 4.439 MB / 0.8424 GB, free: 15.52 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001523/0.8007, allocations: 0.9357 MB / 0.8433 GB, free: 14.57 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004124/0.8049, allocations: 1.599 MB / 0.8448 GB, free: 12.96 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002224/0.8071, allocations: 0.9885 MB / 0.8458 GB, free: 11.98 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0002142/0.8074, allocations: 60 kB / 0.8459 GB, free: 11.92 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005328/0.8127, allocations: 2.844 MB / 0.8486 GB, free: 9.066 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0005359/0.8133, allocations: 406.7 kB / 0.849 GB, free: 8.668 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0009852/0.8143, allocations: 0.653 MB / 0.8497 GB, free: 8.012 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.002935/0.8172, allocations: 2.062 MB / 0.8517 GB, free: 5.945 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 7.655e-06/0.8172, allocations: 4 kB / 0.8517 GB, free: 5.941 MB / 0.67 GB Notification: Performance of FrontEnd: time 9.92e-07/0.8172, allocations: 3.938 kB / 0.8517 GB, free: 5.938 MB / 0.67 GB Notification: Performance of Transformations before backend: time 1.745e-05/0.8172, allocations: 4 kB / 0.8517 GB, free: 5.934 MB / 0.67 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.002998/0.8202, allocations: 1.709 MB / 0.8534 GB, free: 4.172 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.464e-05/0.8203, allocations: 12.03 kB / 0.8534 GB, free: 4.16 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002767/0.8231, allocations: 422 kB / 0.8538 GB, free: 3.746 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001754/0.8248, allocations: 0.9599 MB / 0.8547 GB, free: 2.742 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.324e-05/0.8249, allocations: 66 kB / 0.8548 GB, free: 2.68 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001409/0.8251, allocations: 87.89 kB / 0.8549 GB, free: 2.594 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001616/0.8267, allocations: 0.8663 MB / 0.8557 GB, free: 1.723 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.15e-05/0.8267, allocations: 0 / 0.8557 GB, free: 1.723 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.303e-05/0.8268, allocations: 35.98 kB / 0.8557 GB, free: 1.688 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.982e-05/0.8269, allocations: 30 kB / 0.8558 GB, free: 1.656 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001511/0.8284, allocations: 0.812 MB / 0.8566 GB, free: 0.8438 MB / 0.67 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.3746/1.203, allocations: 3.617 MB / 0.8601 GB, free: 213.7 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002462/1.206, allocations: 1.095 MB / 0.8612 GB, free: 213.1 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009822/1.207, allocations: 370.5 kB / 0.8615 GB, free: 213.1 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001027/1.208, allocations: 404 kB / 0.8619 GB, free: 212.7 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.753e-05/1.208, allocations: 43.78 kB / 0.8619 GB, free: 212.7 MB / 0.67 GB Notification: Performance of pre-optimization done (n=60): time 4.739e-06/1.208, allocations: 0 / 0.8619 GB, free: 212.7 MB / 0.67 GB Notification: Performance of matching and sorting (n=60): time 0.003607/1.211, allocations: 0.9549 MB / 0.8629 GB, free: 212.6 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.86e-05/1.211, allocations: 63.28 kB / 0.8629 GB, free: 212.5 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001932/1.213, allocations: 0.8387 MB / 0.8638 GB, free: 212.4 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0001036/1.213, allocations: 41.81 kB / 0.8638 GB, free: 212.4 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004373/1.214, allocations: 480 kB / 0.8643 GB, free: 212.1 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002918/1.214, allocations: 214.5 kB / 0.8645 GB, free: 211.9 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003233/1.215, allocations: 112.9 kB / 0.8646 GB, free: 211.8 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 8.05e-05/1.215, allocations: 330 kB / 0.8649 GB, free: 211.5 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008401/1.216, allocations: 257.8 kB / 0.8651 GB, free: 211.4 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009418/1.216, allocations: 366.5 kB / 0.8655 GB, free: 211.2 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001691/1.218, allocations: 0.5884 MB / 0.866 GB, free: 211 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.362e-06/1.218, allocations: 0.5625 kB / 0.8661 GB, free: 211 MB / 0.67 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002401/1.221, allocations: 0.7365 MB / 0.8668 GB, free: 210.7 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.861e-05/1.221, allocations: 5.406 kB / 0.8668 GB, free: 210.7 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.44e-05/1.221, allocations: 2.938 kB / 0.8668 GB, free: 210.7 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.002e-05/1.221, allocations: 8.484 kB / 0.8668 GB, free: 210.7 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001065/1.222, allocations: 129.7 kB / 0.8669 GB, free: 210.7 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.441e-05/1.222, allocations: 7.781 kB / 0.8669 GB, free: 210.7 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001946/1.224, allocations: 128.7 kB / 0.867 GB, free: 210.7 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001019/1.224, allocations: 23.98 kB / 0.8671 GB, free: 210.6 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001428/1.225, allocations: 0.4914 MB / 0.8675 GB, free: 210.4 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009988/1.226, allocations: 360.2 kB / 0.8679 GB, free: 210.2 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001775/1.228, allocations: 0.5778 MB / 0.8684 GB, free: 210 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.244e-06/1.228, allocations: 0 / 0.8684 GB, free: 210 MB / 0.67 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.002789/1.231, allocations: 0.7232 MB / 0.8692 GB, free: 209.7 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.826e-05/1.231, allocations: 6.25 kB / 0.8692 GB, free: 209.7 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.142e-05/1.231, allocations: 2.906 kB / 0.8692 GB, free: 209.7 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.515e-05/1.231, allocations: 3.281 kB / 0.8692 GB, free: 209.7 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001/1.232, allocations: 123.8 kB / 0.8693 GB, free: 209.7 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.34e-05/1.232, allocations: 14.25 kB / 0.8693 GB, free: 209.7 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001992/1.234, allocations: 130.2 kB / 0.8694 GB, free: 209.6 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.762e-05/1.234, allocations: 20.94 kB / 0.8694 GB, free: 209.6 MB / 0.67 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.0003154/1.235, allocations: 213.3 kB / 0.8696 GB, free: 209.4 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004813/1.235, allocations: 104.8 kB / 0.8697 GB, free: 209.4 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002524/1.238, allocations: 0.7422 MB / 0.8705 GB, free: 209.1 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.077e-05/1.238, allocations: 7.812 kB / 0.8705 GB, free: 209.1 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.373e-05/1.238, allocations: 0 / 0.8705 GB, free: 209.1 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00188/1.24, allocations: 0.9022 MB / 0.8714 GB, free: 208.4 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006369/1.246, allocations: 2.25 MB / 0.8736 GB, free: 207.2 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.011e-05/1.246, allocations: 4.719 kB / 0.8736 GB, free: 207.2 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001226/1.247, allocations: 135 kB / 0.8737 GB, free: 207.2 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.879e-05/1.247, allocations: 5.906 kB / 0.8737 GB, free: 207.2 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.438e-05/1.247, allocations: 23.88 kB / 0.8737 GB, free: 207.2 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-05/1.248, allocations: 5.594 kB / 0.8737 GB, free: 207.2 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.201e-06/1.248, allocations: 2.875 kB / 0.8737 GB, free: 207.2 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003163/1.251, allocations: 1.232 MB / 0.8749 GB, free: 206.6 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008535/1.252, allocations: 262 kB / 0.8752 GB, free: 206.4 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003509/1.252, allocations: 17.02 kB / 0.8752 GB, free: 206.4 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001756/1.254, allocations: 93 kB / 0.8753 GB, free: 206.3 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001863/1.254, allocations: 48.48 kB / 0.8753 GB, free: 206.3 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.095e-05/1.254, allocations: 29.89 kB / 0.8754 GB, free: 206.3 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001674/1.256, allocations: 0.5869 MB / 0.8759 GB, free: 206.1 MB / 0.67 GB Notification: Performance of sort global known variables: time 2.114e-06/1.256, allocations: 1.625 kB / 0.8759 GB, free: 206.1 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.00277/1.259, allocations: 0.5282 MB / 0.8765 GB, free: 206 MB / 0.67 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.0009435/1.26, allocations: 244.6 kB / 0.8767 GB, free: 205.9 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.003188/1.263, allocations: 0.9362 MB / 0.8776 GB, free: 205.6 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 8.766e-06/1.263, allocations: 2.688 kB / 0.8776 GB, free: 205.6 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.001034/1.264, allocations: 346.2 kB / 0.8779 GB, free: 205.5 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005869/1.27, allocations: 0.6219 MB / 0.8785 GB, free: 205.4 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006459/1.276, allocations: 2.616 MB / 0.8811 GB, free: 203.7 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001072/1.277, allocations: 1.119 MB / 0.8822 GB, free: 203 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005514/1.278, allocations: 86.47 kB / 0.8823 GB, free: 203 MB / 0.67 GB Notification: Performance of SimCode: time 9.02e-07/1.278, allocations: 1.969 kB / 0.8823 GB, free: 203 MB / 0.67 GB Notification: Performance of Templates: time 0.05772/1.336, allocations: 17.26 MB / 0.8991 GB, free: 201.2 MB / 0.67 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)