Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example1v1.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.Example1v1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example1v1") translateModel(BuildSysPro.IBPSA.Fluid.Examples.Performance.Example1v1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example1v1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008356/0.0008356, allocations: 99.42 kB / 16.02 MB, free: 76 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.001247/0.001247, allocations: 184.4 kB / 16.92 MB, free: 6.75 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.529/1.529, allocations: 223.3 MB / 241 MB, free: 5.336 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.042/1.042, allocations: 143.2 MB / 435.3 MB, free: 13.68 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000347/0.0003473, allocations: 12 kB / 0.517 GB, free: 11.16 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1855/0.1859, allocations: 83.41 MB / 0.5985 GB, free: 7.707 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Examples.Performance.Example1v1): time 0.3808/0.5667, allocations: 70.96 MB / 0.6678 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.02915/0.5959, allocations: 18.79 MB / 0.6862 GB, free: 84 kB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004466/0.6004, allocations: 89 kB / 0.6862 GB, free: 44 kB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.01036/0.6108, allocations: 4.047 MB / 0.6902 GB, free: 14.77 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.009049/0.6199, allocations: 2.254 MB / 0.6924 GB, free: 13.47 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.006179/0.6261, allocations: 1.905 MB / 0.6943 GB, free: 12.41 MB / 0.5294 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.0002008867139553991}[pressure.n] * 0.0‘ Notification: Performance of NFFlatten.flatten: time 0.02086/0.647, allocations: 13.63 MB / 0.7076 GB, free: 7.766 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009033/0.6561, allocations: 5.605 MB / 0.713 GB, free: 4.555 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008015/0.6641, allocations: 2.77 MB / 0.7157 GB, free: 3.047 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005875/0.67, allocations: 2.495 MB / 0.7182 GB, free: 1.578 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.001406/0.6715, allocations: 128 kB / 0.7183 GB, free: 1.453 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00652/0.678, allocations: 1.439 MB / 0.7197 GB, free: 8 kB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.001356/0.6794, allocations: 0.7544 MB / 0.7204 GB, free: 15.25 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.003321/0.6828, allocations: 1.8 MB / 0.7222 GB, free: 13.43 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.00519/0.688, allocations: 4.165 MB / 0.7263 GB, free: 9.258 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.652e-06/0.688, allocations: 0 / 0.7263 GB, free: 9.258 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.365e-06/0.688, allocations: 4 kB / 0.7263 GB, free: 9.254 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.0001128/0.6881, allocations: 0 / 0.7263 GB, free: 9.254 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 402 * Number of variables: 402 Notification: Performance of Generate backend data structure: time 0.008031/0.6962, allocations: 4.187 MB / 0.7304 GB, free: 4.984 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.378e-05/0.6962, allocations: 12.03 kB / 0.7304 GB, free: 4.973 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003007/0.6992, allocations: 0.6987 MB / 0.7311 GB, free: 4.27 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00622/0.7055, allocations: 3.629 MB / 0.7346 GB, free: 0.5781 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001481/0.7056, allocations: 147.8 kB / 0.7347 GB, free: 444 kB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003158/0.706, allocations: 184 kB / 0.7349 GB, free: 260 kB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004162/0.7101, allocations: 2.386 MB / 0.7372 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.048e-05/0.7102, allocations: 11.84 kB / 0.7373 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001792/0.7104, allocations: 68 kB / 0.7373 GB, free: 13.65 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.422e-05/0.7104, allocations: 41.62 kB / 0.7374 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004078/0.7145, allocations: 2.009 MB / 0.7393 GB, free: 11.59 MB / 0.5606 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.0156/0.7301, allocations: 12.18 MB / 0.7512 GB, free: 14.82 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003116/0.7333, allocations: 1.445 MB / 0.7526 GB, free: 13.37 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001817/0.7351, allocations: 1.056 MB / 0.7537 GB, free: 12.31 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006755/0.7419, allocations: 3.881 MB / 0.7574 GB, free: 8.164 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001644/0.7436, allocations: 0.8247 MB / 0.7583 GB, free: 7.324 MB / 0.5762 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001795/0.7454, allocations: 462.3 kB / 0.7587 GB, free: 6.871 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=95): time 3.426e-06/0.7454, allocations: 0 / 0.7587 GB, free: 6.871 MB / 0.5762 GB Notification: Performance of matching and sorting (n=95): time 0.0128/0.7582, allocations: 4.364 MB / 0.763 GB, free: 2.457 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.777e-05/0.7583, allocations: 64.41 kB / 0.763 GB, free: 2.383 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006354/0.7647, allocations: 3.479 MB / 0.7664 GB, free: 14.88 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0002624/0.7649, allocations: 53.7 kB / 0.7665 GB, free: 14.82 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.001714/0.7667, allocations: 1.571 MB / 0.768 GB, free: 13.23 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.000427/0.7671, allocations: 339.2 kB / 0.7683 GB, free: 12.9 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003373/0.7675, allocations: 193.6 kB / 0.7685 GB, free: 12.7 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001008/0.7676, allocations: 305.1 kB / 0.7688 GB, free: 12.4 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001911/0.7695, allocations: 0.89 MB / 0.7697 GB, free: 11.51 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002453/0.772, allocations: 1.688 MB / 0.7713 GB, free: 9.473 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003898/0.7759, allocations: 2.288 MB / 0.7736 GB, free: 6.977 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.716e-05/0.7759, allocations: 4 kB / 0.7736 GB, free: 6.973 MB / 0.5919 GB Notification: Performance of matching and sorting (n=247) (initialization): time 0.007379/0.7833, allocations: 3.391 MB / 0.7769 GB, free: 3.555 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004231/0.7837, allocations: 0.5712 MB / 0.7774 GB, free: 2.773 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.599e-05/0.7838, allocations: 12 kB / 0.7774 GB, free: 2.762 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002369/0.7862, allocations: 0.6964 MB / 0.7781 GB, free: 2.059 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001458/0.7876, allocations: 357.3 kB / 0.7785 GB, free: 1.707 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001906/0.7896, allocations: 1.904 MB / 0.7803 GB, free: 15.75 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002723/0.7923, allocations: 228.2 kB / 0.7805 GB, free: 15.53 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002331/0.7925, allocations: 83.97 kB / 0.7806 GB, free: 15.45 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.544e-05/0.7926, allocations: 5.875 kB / 0.7806 GB, free: 15.44 MB / 0.6075 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005177/0.7977, allocations: 2.864 MB / 0.7834 GB, free: 12.54 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.573e-05/0.7978, allocations: 12 kB / 0.7834 GB, free: 12.53 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009373/0.7987, allocations: 478 kB / 0.7839 GB, free: 12.05 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001321/0.8001, allocations: 357.3 kB / 0.7842 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006983/0.8071, allocations: 5.863 MB / 0.7899 GB, free: 5.566 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0026/0.8097, allocations: 213.9 kB / 0.7902 GB, free: 5.352 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002906/0.81, allocations: 75.98 kB / 0.7902 GB, free: 5.277 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 67 * Number of states: 0 () * Number of discrete variables: 8 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1,from_dp.y,nRes.y,allowFlowReversal.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (167): * Single equations (assignments): 162 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,40), (2,5)} Notification: Performance of prepare postOptimizeDAE: time 0.001981/0.812, allocations: 0.9535 MB / 0.7912 GB, free: 4.312 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008229/0.8128, allocations: 327.8 kB / 0.7915 GB, free: 3.988 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0055/0.8183, allocations: 2.412 MB / 0.7938 GB, free: 1.559 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.634e-05/0.8184, allocations: 19.94 kB / 0.7938 GB, free: 1.539 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-06/0.8184, allocations: 0 / 0.7938 GB, free: 1.539 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003816/0.8222, allocations: 2.088 MB / 0.7959 GB, free: 15.38 MB / 0.6231 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.009703/0.8319, allocations: 4.684 MB / 0.8005 GB, free: 10.61 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.434e-06/0.832, allocations: 0 / 0.8005 GB, free: 10.61 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008717/0.8329, allocations: 161.7 kB / 0.8006 GB, free: 10.45 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001065/0.8339, allocations: 484.7 kB / 0.8011 GB, free: 9.965 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.763e-05/0.834, allocations: 27.98 kB / 0.8011 GB, free: 9.938 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001655/0.8357, allocations: 1.85 MB / 0.8029 GB, free: 8.035 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.8357, allocations: 4.125 kB / 0.8029 GB, free: 8.031 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006342/0.8421, allocations: 3.226 MB / 0.8061 GB, free: 4.77 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001559/0.8437, allocations: 0.5669 MB / 0.8066 GB, free: 4.18 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007721/0.8444, allocations: 24 kB / 0.8066 GB, free: 4.156 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002032/0.8465, allocations: 179.6 kB / 0.8068 GB, free: 3.98 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001737/0.8467, allocations: 68.84 kB / 0.8069 GB, free: 3.914 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001067/0.8468, allocations: 39.97 kB / 0.8069 GB, free: 3.875 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.004778/0.8516, allocations: 2.351 MB / 0.8092 GB, free: 1.512 MB / 0.6231 GB Notification: Performance of sort global known variables: time 3.71e-07/0.8516, allocations: 4 kB / 0.8092 GB, free: 1.508 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.006597/0.8582, allocations: 1.529 MB / 0.8107 GB, free: 15.97 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (pump.vol.dynBal.U,hea.outCon.T) * 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 (57): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(2,5), (1,40)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001687/0.8599, allocations: 0.5837 MB / 0.8113 GB, free: 15.39 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.007664/0.8676, allocations: 3.753 MB / 0.8149 GB, free: 11.6 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 5.661e-06/0.8676, allocations: 0 / 0.8149 GB, free: 11.6 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001828/0.8694, allocations: 0.8 MB / 0.8157 GB, free: 10.8 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007936/0.8774, allocations: 1.358 MB / 0.817 GB, free: 9.453 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01481/0.8922, allocations: 7.208 MB / 0.8241 GB, free: 2.203 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002659/0.8949, allocations: 2.212 MB / 0.8262 GB, free: 15.95 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009923/0.896, allocations: 231.3 kB / 0.8265 GB, free: 15.73 MB / 0.6544 GB Notification: Performance of SimCode: time 1.163e-06/0.896, allocations: 0 / 0.8265 GB, free: 15.73 MB / 0.6544 GB Notification: Performance of Templates: time 0.42/1.316, allocations: 83.65 MB / 0.9082 GB, free: 175.9 MB / 0.67 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example1v1.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example1v1.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example1v1.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example1v1.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example1v1.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example1v1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example1v1.pipe 2>&1)