Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example2.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.Examples.Performance.Example2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example2") translateModel(BuildSysPro.IBPSA.Fluid.Examples.Performance.Example2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001092/0.001092, allocations: 92 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001367/0.001368, allocations: 186.3 kB / 16.92 MB, free: 6.922 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.512/1.512, allocations: 223.3 MB / 241 MB, free: 5.34 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.045/1.045, allocations: 143.2 MB / 435.3 MB, free: 13.68 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004879/0.0004879, allocations: 11.98 kB / 0.517 GB, free: 11.21 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1822/0.1827, allocations: 83.42 MB / 0.5985 GB, free: 7.758 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Examples.Performance.Example2): time 0.3489/0.5316, allocations: 29.18 MB / 0.627 GB, free: 27.38 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01491/0.5466, allocations: 11.77 MB / 0.6385 GB, free: 19.48 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001946/0.5486, allocations: 40.03 kB / 0.6385 GB, free: 19.47 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.006956/0.5555, allocations: 3.79 MB / 0.6422 GB, free: 18.36 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.004557/0.5601, allocations: 1.428 MB / 0.6436 GB, free: 17.54 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003424/0.5636, allocations: 1.255 MB / 0.6448 GB, free: 16.86 MB / 0.4981 GB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1080:9-1080:67:writable] Error: Internal error NFCeval.evalBinaryMul failed to evaluate ‘{0.0, 0.002008867139553991}[pressure.n] * 0.0‘ Notification: Performance of NFFlatten.flatten: time 0.009758/0.5734, allocations: 8.035 MB / 0.6527 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00233/0.5757, allocations: 1.142 MB / 0.6538 GB, free: 13.85 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003307/0.579, allocations: 1.234 MB / 0.655 GB, free: 13.33 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00245/0.5815, allocations: 1.09 MB / 0.6561 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0004009/0.582, allocations: 52.72 kB / 0.6561 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003755/0.5857, allocations: 1.273 MB / 0.6574 GB, free: 12.47 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0008231/0.5866, allocations: 470 kB / 0.6578 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001763/0.5884, allocations: 0.8996 MB / 0.6587 GB, free: 11.74 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.004407/0.5928, allocations: 2.391 MB / 0.661 GB, free: 11.2 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.5928, allocations: 1.188 kB / 0.661 GB, free: 11.2 MB / 0.4981 GB Notification: Performance of FrontEnd: time 3.106e-06/0.5928, allocations: 0 / 0.661 GB, free: 11.2 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.587e-05/0.5929, allocations: 0 / 0.661 GB, free: 11.2 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.004771/0.5977, allocations: 2.041 MB / 0.663 GB, free: 9.812 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.862e-05/0.5977, allocations: 8.812 kB / 0.663 GB, free: 9.812 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002142/0.5999, allocations: 391.5 kB / 0.6634 GB, free: 9.695 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004077/0.604, allocations: 2.297 MB / 0.6657 GB, free: 8.516 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000101/0.6041, allocations: 73.67 kB / 0.6657 GB, free: 8.48 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001634/0.6043, allocations: 87.95 kB / 0.6658 GB, free: 8.453 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002273/0.6066, allocations: 1.042 MB / 0.6668 GB, free: 7.973 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.932e-05/0.6066, allocations: 9.734 kB / 0.6668 GB, free: 7.965 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.169e-05/0.6067, allocations: 36.94 kB / 0.6669 GB, free: 7.938 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.285e-05/0.6067, allocations: 19.72 kB / 0.6669 GB, free: 7.938 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002197/0.6089, allocations: 0.8291 MB / 0.6677 GB, free: 7.676 MB / 0.4981 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.00746/0.6164, allocations: 5.431 MB / 0.673 GB, free: 3.633 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001785/0.6182, allocations: 0.6543 MB / 0.6736 GB, free: 3.402 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009213/0.6191, allocations: 359 kB / 0.674 GB, free: 3.293 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003/0.6222, allocations: 1.703 MB / 0.6756 GB, free: 1.992 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009473/0.6231, allocations: 368.2 kB / 0.676 GB, free: 1.859 MB / 0.4981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007682/0.6239, allocations: 115.5 kB / 0.6761 GB, free: 1.809 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=43): time 2.735e-06/0.6239, allocations: 0 / 0.6761 GB, free: 1.809 MB / 0.4981 GB Notification: Performance of matching and sorting (n=43): time 0.00403/0.628, allocations: 1.332 MB / 0.6774 GB, free: 1.324 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.042e-05/0.628, allocations: 55.81 kB / 0.6775 GB, free: 1.262 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003227/0.6312, allocations: 1.878 MB / 0.6793 GB, free: 0.5273 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.000121/0.6314, allocations: 43.08 kB / 0.6793 GB, free: 496 kB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007817/0.6322, allocations: 0.7885 MB / 0.6801 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002097/0.6324, allocations: 156.2 kB / 0.6803 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002097/0.6326, allocations: 131.7 kB / 0.6804 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000183/0.6328, allocations: 359.2 kB / 0.6807 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001184/0.634, allocations: 482.8 kB / 0.6812 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00146/0.6355, allocations: 0.8633 MB / 0.682 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00243/0.6379, allocations: 1.218 MB / 0.6832 GB, free: 13.86 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.208e-06/0.6379, allocations: 6.625 kB / 0.6832 GB, free: 13.85 MB / 0.5137 GB Notification: Performance of matching and sorting (n=151) (initialization): time 0.00396/0.6419, allocations: 1.657 MB / 0.6848 GB, free: 13.19 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003032/0.6422, allocations: 384.2 kB / 0.6852 GB, free: 12.71 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.976e-05/0.6422, allocations: 9.469 kB / 0.6852 GB, free: 12.71 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006671/0.6429, allocations: 189.2 kB / 0.6854 GB, free: 12.66 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008299/0.6438, allocations: 216.7 kB / 0.6856 GB, free: 12.64 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007848/0.6446, allocations: 0.7703 MB / 0.6864 GB, free: 12.04 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001793/0.6464, allocations: 113.8 kB / 0.6865 GB, free: 12.02 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001155/0.6465, allocations: 48.98 kB / 0.6865 GB, free: 12.01 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 9.979e-06/0.6465, allocations: 3.094 kB / 0.6865 GB, free: 12.01 MB / 0.5137 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002875/0.6494, allocations: 1.446 MB / 0.6879 GB, free: 11.33 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.738e-05/0.6494, allocations: 8.031 kB / 0.6879 GB, free: 11.33 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002452/0.6497, allocations: 110.9 kB / 0.688 GB, free: 11.29 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007343/0.6504, allocations: 204.5 kB / 0.6882 GB, free: 11.23 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002259/0.6527, allocations: 2.16 MB / 0.6903 GB, free: 9.332 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001616/0.6543, allocations: 114.1 kB / 0.6905 GB, free: 9.27 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.946e-05/0.6544, allocations: 42.44 kB / 0.6905 GB, free: 9.262 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * Number of states: 0 () * Number of discrete variables: 7 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1,nRes.y,from_dp.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (106): * Single equations (assignments): 102 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(5,7)} Notification: Performance of prepare postOptimizeDAE: time 0.001352/0.6558, allocations: 0.5826 MB / 0.6911 GB, free: 8.836 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004125/0.6562, allocations: 174.4 kB / 0.6912 GB, free: 8.738 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002457/0.6587, allocations: 0.9629 MB / 0.6922 GB, free: 8.219 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.61e-05/0.6587, allocations: 9.281 kB / 0.6922 GB, free: 8.215 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.6587, allocations: 1 kB / 0.6922 GB, free: 8.215 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00184/0.6606, allocations: 0.9485 MB / 0.6931 GB, free: 7.543 MB / 0.5137 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 postOpt removeSimpleEquations (simulation): time 0.00457/0.6651, allocations: 2.162 MB / 0.6952 GB, free: 6.078 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.334e-06/0.6652, allocations: 3.984 kB / 0.6952 GB, free: 6.074 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000508/0.6657, allocations: 93.14 kB / 0.6953 GB, free: 6.051 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002765/0.666, allocations: 126.2 kB / 0.6954 GB, free: 5.992 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.211e-05/0.666, allocations: 17.77 kB / 0.6954 GB, free: 5.98 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005862/0.6666, allocations: 0.7478 MB / 0.6962 GB, free: 5.34 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.6666, allocations: 0 / 0.6962 GB, free: 5.34 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003047/0.6697, allocations: 1.352 MB / 0.6975 GB, free: 4.562 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001006/0.6707, allocations: 331.8 kB / 0.6978 GB, free: 4.289 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002318/0.6709, allocations: 10.44 kB / 0.6978 GB, free: 4.281 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009157/0.6719, allocations: 93.41 kB / 0.6979 GB, free: 4.242 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000119/0.672, allocations: 37.11 kB / 0.698 GB, free: 4.219 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.976e-05/0.6721, allocations: 25.3 kB / 0.698 GB, free: 4.207 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.002222/0.6743, allocations: 1.277 MB / 0.6992 GB, free: 3.473 MB / 0.5137 GB Notification: Performance of sort global known variables: time 3.21e-07/0.6743, allocations: 0 / 0.6992 GB, free: 3.473 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002829/0.6771, allocations: 0.8151 MB / 0.7 GB, free: 2.656 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (pump_dp.vol.dynBal.U) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(5,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001364/0.6785, allocations: 0.5033 MB / 0.7005 GB, free: 2.156 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.004483/0.683, allocations: 1.947 MB / 0.7024 GB, free: 184 kB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.028e-05/0.683, allocations: 4 kB / 0.7024 GB, free: 180 kB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001095/0.6842, allocations: 362.6 kB / 0.7028 GB, free: 15.82 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004385/0.6886, allocations: 0.7495 MB / 0.7035 GB, free: 15.09 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008846/0.6974, allocations: 3.788 MB / 0.7072 GB, free: 11.25 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001424/0.6989, allocations: 1.44 MB / 0.7086 GB, free: 9.785 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006228/0.6995, allocations: 143.3 kB / 0.7087 GB, free: 9.645 MB / 0.5294 GB Notification: Performance of SimCode: time 1.213e-06/0.6995, allocations: 4 kB / 0.7087 GB, free: 9.641 MB / 0.5294 GB Notification: Performance of Templates: time 0.05646/0.756, allocations: 36.88 MB / 0.7448 GB, free: 4.957 MB / 0.5606 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example2.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example2.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example2.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example2.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example2.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example2.pipe 2>&1)