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.0009705/0.0009705, allocations: 96.62 kB / 15.36 MB, free: 0.7344 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.01037/0.01037, allocations: 169.8 kB / 16.27 MB, free: 6.648 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.443/1.443, allocations: 223.3 MB / 240.3 MB, free: 5.332 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.09/1.09, allocations: 143.2 MB / 434.6 MB, free: 13.69 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000465/0.0004654, allocations: 12 kB / 0.5164 GB, free: 11.11 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1977/0.1982, allocations: 83.41 MB / 0.5978 GB, free: 7.648 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.FlowJunction): time 0.6059/0.8042, allocations: 234.7 MB / 0.827 GB, free: 1.16 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01296/0.8172, allocations: 7.24 MB / 0.8341 GB, free: 9.906 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002207/0.8195, allocations: 43.69 kB / 0.8341 GB, free: 9.863 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.002092/0.8216, allocations: 0.5789 MB / 0.8347 GB, free: 9.281 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.006814/0.8284, allocations: 1.948 MB / 0.8366 GB, free: 7.328 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.00633/0.8348, allocations: 1.871 MB / 0.8384 GB, free: 5.469 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.007396/0.8422, allocations: 4.429 MB / 0.8428 GB, free: 1.027 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001859/0.8441, allocations: 0.9146 MB / 0.8436 GB, free: 96 kB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005457/0.8495, allocations: 1.568 MB / 0.8452 GB, free: 14.52 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002645/0.8522, allocations: 0.9565 MB / 0.8461 GB, free: 13.56 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0002242/0.8525, allocations: 52 kB / 0.8462 GB, free: 13.51 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006767/0.8592, allocations: 2.829 MB / 0.8489 GB, free: 10.68 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0007338/0.86, allocations: 386.7 kB / 0.8493 GB, free: 10.3 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.001225/0.8612, allocations: 0.6546 MB / 0.8499 GB, free: 9.633 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.005671/0.8669, allocations: 2.823 MB / 0.8527 GB, free: 6.801 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 7.834e-06/0.867, allocations: 4 kB / 0.8527 GB, free: 6.797 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.004e-06/0.867, allocations: 0 / 0.8527 GB, free: 6.797 MB / 0.67 GB Notification: Performance of Transformations before backend: time 2.321e-05/0.867, allocations: 0 / 0.8527 GB, free: 6.797 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.002738/0.8697, allocations: 1.479 MB / 0.8541 GB, free: 5.266 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.387e-05/0.8698, allocations: 8.031 kB / 0.8541 GB, free: 5.258 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002635/0.8724, allocations: 426 kB / 0.8545 GB, free: 4.84 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001762/0.8742, allocations: 0.9638 MB / 0.8555 GB, free: 3.832 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.222e-05/0.8743, allocations: 62 kB / 0.8555 GB, free: 3.773 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001396/0.8744, allocations: 84 kB / 0.8556 GB, free: 3.691 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001624/0.8761, allocations: 0.8818 MB / 0.8565 GB, free: 2.805 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.289e-05/0.8761, allocations: 0 / 0.8565 GB, free: 2.805 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.267e-05/0.8762, allocations: 36 kB / 0.8565 GB, free: 2.77 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.713e-05/0.8762, allocations: 26 kB / 0.8565 GB, free: 2.742 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001499/0.8777, allocations: 0.8276 MB / 0.8574 GB, free: 1.914 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.3917/1.269, allocations: 3.649 MB / 0.8609 GB, free: 210.6 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001246/1.271, allocations: 1.105 MB / 0.862 GB, free: 210 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000523/1.271, allocations: 380.8 kB / 0.8624 GB, free: 210 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006161/1.272, allocations: 420.7 kB / 0.8628 GB, free: 209.7 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.654e-05/1.272, allocations: 44.81 kB / 0.8628 GB, free: 209.6 MB / 0.67 GB Notification: Performance of pre-optimization done (n=60): time 3.176e-06/1.272, allocations: 0.7031 kB / 0.8628 GB, free: 209.6 MB / 0.67 GB Notification: Performance of matching and sorting (n=60): time 0.001946/1.274, allocations: 0.9924 MB / 0.8638 GB, free: 209.6 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.792e-05/1.274, allocations: 57.75 kB / 0.8638 GB, free: 209.5 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008949/1.275, allocations: 0.8355 MB / 0.8646 GB, free: 209.3 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 5.716e-05/1.275, allocations: 38.98 kB / 0.8647 GB, free: 209.3 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002607/1.275, allocations: 482.1 kB / 0.8651 GB, free: 209.2 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001437/1.275, allocations: 217.8 kB / 0.8654 GB, free: 209 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.543e-05/1.275, allocations: 49.12 kB / 0.8654 GB, free: 209 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 5.732e-05/1.275, allocations: 329.7 kB / 0.8657 GB, free: 208.7 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004277/1.276, allocations: 260.2 kB / 0.866 GB, free: 208.7 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005183/1.276, allocations: 381.2 kB / 0.8663 GB, free: 208.6 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001121/1.278, allocations: 0.6121 MB / 0.8669 GB, free: 208.6 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.499e-06/1.278, allocations: 6.188 kB / 0.8669 GB, free: 208.6 MB / 0.67 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001202/1.279, allocations: 0.7538 MB / 0.8677 GB, free: 208.5 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 5.765e-05/1.279, allocations: 118.6 kB / 0.8678 GB, free: 208.3 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/1.279, allocations: 2.75 kB / 0.8678 GB, free: 208.3 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.704e-05/1.279, allocations: 2.75 kB / 0.8678 GB, free: 208.3 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000527/1.279, allocations: 136.5 kB / 0.8679 GB, free: 208.3 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.257e-06/1.279, allocations: 3.094 kB / 0.8679 GB, free: 208.3 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000933/1.28, allocations: 131.8 kB / 0.868 GB, free: 208.3 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.063e-05/1.28, allocations: 33.81 kB / 0.8681 GB, free: 208.3 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 7.414e-06/1.28, allocations: 5.844 kB / 0.8681 GB, free: 208.3 MB / 0.67 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001095/1.282, allocations: 0.622 MB / 0.8687 GB, free: 208.3 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.835e-06/1.282, allocations: 6.344 kB / 0.8687 GB, free: 208.3 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.499e-06/1.282, allocations: 3.594 kB / 0.8687 GB, free: 208.3 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004862/1.282, allocations: 132.7 kB / 0.8688 GB, free: 208.3 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.62e-06/1.282, allocations: 3.25 kB / 0.8688 GB, free: 208.3 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009334/1.283, allocations: 136.8 kB / 0.869 GB, free: 208.3 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.494e-05/1.283, allocations: 22.03 kB / 0.869 GB, free: 208.3 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.000573/1.284, allocations: 383 kB / 0.8693 GB, free: 208.1 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001446/1.284, allocations: 107 kB / 0.8694 GB, free: 208 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00127/1.285, allocations: 0.7585 MB / 0.8702 GB, free: 208 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.563e-06/1.285, allocations: 9.75 kB / 0.8702 GB, free: 208 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.123e-06/1.285, allocations: 1.562 kB / 0.8702 GB, free: 208 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001005/1.286, allocations: 0.9283 MB / 0.8711 GB, free: 207.4 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002884/1.289, allocations: 2.27 MB / 0.8733 GB, free: 206.2 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.681e-06/1.289, allocations: 2.844 kB / 0.8733 GB, free: 206.2 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006273/1.29, allocations: 140.8 kB / 0.8735 GB, free: 206.1 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.244e-05/1.29, allocations: 8.891 kB / 0.8735 GB, free: 206.1 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.688e-05/1.29, allocations: 17.22 kB / 0.8735 GB, free: 206.1 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.983e-06/1.29, allocations: 6.438 kB / 0.8735 GB, free: 206.1 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.486e-06/1.29, allocations: 3.156 kB / 0.8735 GB, free: 206.1 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001906/1.292, allocations: 1.261 MB / 0.8747 GB, free: 205.5 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005545/1.292, allocations: 263.5 kB / 0.875 GB, free: 205.3 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001162/1.292, allocations: 24.5 kB / 0.875 GB, free: 205.3 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00084/1.293, allocations: 106.3 kB / 0.8751 GB, free: 205.3 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001282/1.293, allocations: 45.09 kB / 0.8751 GB, free: 205.3 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.516e-05/1.293, allocations: 22.62 kB / 0.8752 GB, free: 205.3 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.000805/1.294, allocations: 0.588 MB / 0.8757 GB, free: 205 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.71e-07/1.294, allocations: 1.469 kB / 0.8757 GB, free: 205 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001317/1.296, allocations: 0.5321 MB / 0.8763 GB, free: 204.9 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.0005249/1.296, allocations: 255.8 kB / 0.8765 GB, free: 204.8 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001709/1.298, allocations: 0.9697 MB / 0.8774 GB, free: 204.5 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 5.31e-06/1.298, allocations: 2.781 kB / 0.8775 GB, free: 204.5 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0005407/1.298, allocations: 350.7 kB / 0.8778 GB, free: 204.4 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003382/1.302, allocations: 0.6271 MB / 0.8784 GB, free: 204.3 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003217/1.305, allocations: 2.664 MB / 0.881 GB, free: 202.6 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005837/1.306, allocations: 1.124 MB / 0.8821 GB, free: 201.8 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001182/1.307, allocations: 298.9 kB / 0.8824 GB, free: 201.8 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002066/1.307, allocations: 79.47 kB / 0.8825 GB, free: 201.8 MB / 0.67 GB Notification: Performance of SimCode: time 1.292e-06/1.307, allocations: 0 / 0.8825 GB, free: 201.8 MB / 0.67 GB Notification: Performance of Templates: time 0.04383/1.351, allocations: 19.73 MB / 0.9017 GB, free: 200.5 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)