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.001709/0.001709, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001844/0.001844, allocations: 194.4 kB / 16.25 MB, free: 6.621 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.366/1.366, allocations: 222.9 MB / 239.9 MB, free: 4.516 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.9625/0.9625, allocations: 143 MB / 433.1 MB, free: 11.61 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001192/0.001192, allocations: 63.91 kB / 0.5137 GB, free: 12 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1531/0.1543, allocations: 82.04 MB / 0.5938 GB, free: 9.934 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.FlowJunction): time 0.5365/0.6908, allocations: 237.1 MB / 0.8253 GB, free: 356 kB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01279/0.7037, allocations: 7.188 MB / 0.8324 GB, free: 9.145 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002329/0.706, allocations: 47.69 kB / 0.8324 GB, free: 9.098 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.002418/0.7085, allocations: 0.6063 MB / 0.833 GB, free: 8.488 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.006294/0.7149, allocations: 1.952 MB / 0.8349 GB, free: 6.531 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.005826/0.7207, allocations: 1.877 MB / 0.8367 GB, free: 4.664 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.004997/0.7257, allocations: 3.278 MB / 0.8399 GB, free: 1.375 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002001/0.7277, allocations: 1.101 MB / 0.841 GB, free: 268 kB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004528/0.7323, allocations: 1.775 MB / 0.8427 GB, free: 14.48 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002196/0.7345, allocations: 1.026 MB / 0.8437 GB, free: 13.45 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0004/0.7349, allocations: 120 kB / 0.8439 GB, free: 13.34 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004996/0.7399, allocations: 2.583 MB / 0.8464 GB, free: 10.75 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0006979/0.7406, allocations: 462.7 kB / 0.8468 GB, free: 10.29 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.001527/0.7422, allocations: 0.7271 MB / 0.8475 GB, free: 9.562 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.005522/0.7477, allocations: 2.925 MB / 0.8504 GB, free: 6.629 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 6.071e-06/0.7477, allocations: 0 / 0.8504 GB, free: 6.629 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.224e-06/0.7477, allocations: 0 / 0.8504 GB, free: 6.629 MB / 0.67 GB Notification: Performance of Transformations before backend: time 6.879e-05/0.7478, allocations: 0 / 0.8504 GB, free: 6.629 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.003679/0.7515, allocations: 1.705 MB / 0.8521 GB, free: 4.875 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.522e-05/0.7516, allocations: 15.97 kB / 0.8521 GB, free: 4.859 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00291/0.7545, allocations: 426 kB / 0.8525 GB, free: 4.441 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001859/0.7563, allocations: 0.9639 MB / 0.8534 GB, free: 3.434 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.551e-05/0.7564, allocations: 62 kB / 0.8535 GB, free: 3.371 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000164/0.7566, allocations: 87.91 kB / 0.8536 GB, free: 3.285 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001707/0.7583, allocations: 0.8624 MB / 0.8544 GB, free: 2.418 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.868e-05/0.7583, allocations: 0.5625 kB / 0.8544 GB, free: 2.418 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.507e-05/0.7584, allocations: 36 kB / 0.8544 GB, free: 2.383 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.376e-05/0.7585, allocations: 26 kB / 0.8545 GB, free: 2.359 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001529/0.76, allocations: 0.8081 MB / 0.8553 GB, free: 1.547 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.2902/1.05, allocations: 3.634 MB / 0.8588 GB, free: 213.6 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001226/1.051, allocations: 1.093 MB / 0.8599 GB, free: 213 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005049/1.052, allocations: 371.7 kB / 0.8602 GB, free: 213 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005896/1.053, allocations: 407.8 kB / 0.8606 GB, free: 212.6 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.183e-05/1.053, allocations: 39.09 kB / 0.8606 GB, free: 212.6 MB / 0.67 GB Notification: Performance of pre-optimization done (n=60): time 2.875e-06/1.053, allocations: 0 / 0.8606 GB, free: 212.6 MB / 0.67 GB Notification: Performance of matching and sorting (n=60): time 0.001792/1.054, allocations: 0.956 MB / 0.8616 GB, free: 212.6 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.167e-05/1.054, allocations: 60.5 kB / 0.8616 GB, free: 212.5 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008383/1.055, allocations: 0.8339 MB / 0.8625 GB, free: 212.4 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 5.89e-05/1.055, allocations: 41.17 kB / 0.8625 GB, free: 212.3 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002335/1.056, allocations: 480.6 kB / 0.863 GB, free: 212.1 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001235/1.056, allocations: 218.7 kB / 0.8632 GB, free: 212 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001564/1.056, allocations: 116.8 kB / 0.8633 GB, free: 211.9 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 4.801e-05/1.056, allocations: 331.8 kB / 0.8636 GB, free: 211.6 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004023/1.056, allocations: 256 kB / 0.8638 GB, free: 211.5 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004502/1.057, allocations: 371.5 kB / 0.8642 GB, free: 211.3 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008197/1.058, allocations: 0.5859 MB / 0.8648 GB, free: 211.1 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/1.058, allocations: 1.594 kB / 0.8648 GB, free: 211.1 MB / 0.67 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001059/1.059, allocations: 0.7312 MB / 0.8655 GB, free: 210.8 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.641e-05/1.059, allocations: 7.766 kB / 0.8655 GB, free: 210.8 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/1.059, allocations: 0 / 0.8655 GB, free: 210.8 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.558e-05/1.059, allocations: 5.625 kB / 0.8655 GB, free: 210.8 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005191/1.059, allocations: 124.8 kB / 0.8656 GB, free: 210.8 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.054e-05/1.059, allocations: 6.375 kB / 0.8656 GB, free: 210.8 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008574/1.06, allocations: 135.4 kB / 0.8657 GB, free: 210.7 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.701e-05/1.06, allocations: 22.78 kB / 0.8658 GB, free: 210.7 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006274/1.061, allocations: 0.4926 MB / 0.8662 GB, free: 210.5 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004535/1.061, allocations: 364.2 kB / 0.8666 GB, free: 210.3 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008301/1.062, allocations: 0.5821 MB / 0.8672 GB, free: 210 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.603e-06/1.062, allocations: 0 / 0.8672 GB, free: 210 MB / 0.67 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.001101/1.063, allocations: 0.7247 MB / 0.8679 GB, free: 209.8 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.168e-05/1.063, allocations: 5.688 kB / 0.8679 GB, free: 209.8 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.935e-06/1.063, allocations: 3.969 kB / 0.8679 GB, free: 209.8 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.961e-06/1.063, allocations: 3.453 kB / 0.8679 GB, free: 209.8 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000506/1.064, allocations: 125.2 kB / 0.868 GB, free: 209.8 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.772e-06/1.064, allocations: 5.781 kB / 0.868 GB, free: 209.8 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009096/1.065, allocations: 119.8 kB / 0.8681 GB, free: 209.7 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.225e-05/1.065, allocations: 21.78 kB / 0.8681 GB, free: 209.7 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.0001857/1.065, allocations: 216.8 kB / 0.8683 GB, free: 209.5 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001341/1.065, allocations: 111.6 kB / 0.8685 GB, free: 209.5 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001179/1.066, allocations: 0.7395 MB / 0.8692 GB, free: 209.2 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.093e-06/1.066, allocations: 10.81 kB / 0.8692 GB, free: 209.2 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/1.066, allocations: 0 / 0.8692 GB, free: 209.2 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000907/1.067, allocations: 0.9041 MB / 0.8701 GB, free: 208.5 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002833/1.07, allocations: 2.245 MB / 0.8723 GB, free: 207.3 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.418e-06/1.07, allocations: 2.844 kB / 0.8723 GB, free: 207.3 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006093/1.071, allocations: 136.9 kB / 0.8724 GB, free: 207.3 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.444e-06/1.071, allocations: 9.281 kB / 0.8724 GB, free: 207.3 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.565e-05/1.071, allocations: 20.25 kB / 0.8724 GB, free: 207.3 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.322e-06/1.071, allocations: 9.094 kB / 0.8724 GB, free: 207.3 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/1.071, allocations: 2.969 kB / 0.8724 GB, free: 207.3 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00148/1.072, allocations: 1.223 MB / 0.8736 GB, free: 206.6 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003272/1.073, allocations: 263.6 kB / 0.8739 GB, free: 206.5 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001164/1.073, allocations: 16.62 kB / 0.8739 GB, free: 206.4 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007614/1.074, allocations: 89.77 kB / 0.874 GB, free: 206.4 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.474e-05/1.074, allocations: 61.47 kB / 0.874 GB, free: 206.4 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.025e-05/1.074, allocations: 20.94 kB / 0.8741 GB, free: 206.4 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0006005/1.074, allocations: 0.5854 MB / 0.8746 GB, free: 206.2 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.8e-07/1.074, allocations: 2.594 kB / 0.8746 GB, free: 206.2 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001079/1.075, allocations: 0.5287 MB / 0.8752 GB, free: 206.1 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.0004362/1.076, allocations: 253.2 kB / 0.8754 GB, free: 206 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001628/1.077, allocations: 1.01 MB / 0.8764 GB, free: 205.7 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/1.077, allocations: 0 / 0.8764 GB, free: 205.7 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0004595/1.078, allocations: 348 kB / 0.8767 GB, free: 205.6 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002231/1.08, allocations: 0.5972 MB / 0.8773 GB, free: 205.5 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00273/1.083, allocations: 2.552 MB / 0.8798 GB, free: 203.9 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004743/1.083, allocations: 1.134 MB / 0.8809 GB, free: 203.1 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0009354/1.084, allocations: 299.8 kB / 0.8812 GB, free: 203 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001962/1.085, allocations: 80.89 kB / 0.8813 GB, free: 203 MB / 0.67 GB Notification: Performance of SimCode: time 6.61e-07/1.085, allocations: 0 / 0.8813 GB, free: 203 MB / 0.67 GB Notification: Performance of Templates: time 0.03423/1.119, allocations: 20.22 MB / 0.901 GB, free: 201.8 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)