Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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(Buildings.Fluid.Examples.Performance.Example1v1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Examples.Performance.Example1v1") translateModel(Buildings.Fluid.Examples.Performance.Example1v1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.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.001062/0.001062, allocations: 97.48 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.006382/0.006383, allocations: 168.3 kB / 16.26 MB, free: 6.652 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.363/1.363, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.85/2.85, allocations: 473.4 MB / 0.7469 GB, free: 6.031 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003762/0.0003762, allocations: 17.41 kB / 0.9158 GB, free: 33.1 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3353/0.3357, allocations: 162.2 MB / 1.074 GB, free: 7.543 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example1v1): time 0.06407/0.3998, allocations: 70.94 MB / 1.143 GB, free: 380 kB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.02593/0.4258, allocations: 18.75 MB / 1.162 GB, free: 13.59 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003183/0.429, allocations: 83.44 kB / 1.162 GB, free: 13.5 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.008345/0.4374, allocations: 4.025 MB / 1.166 GB, free: 9.473 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.00665/0.4441, allocations: 2.251 MB / 1.168 GB, free: 7.211 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.004672/0.4488, allocations: 1.895 MB / 1.17 GB, free: 5.328 MB / 0.92 GB [/var/lib/jenkins/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.01544/0.4642, allocations: 13.59 MB / 1.183 GB, free: 7.703 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007329/0.4716, allocations: 5.596 MB / 1.189 GB, free: 2.051 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005816/0.4774, allocations: 2.765 MB / 1.191 GB, free: 15.27 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003675/0.4811, allocations: 2.473 MB / 1.194 GB, free: 12.79 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0003665/0.4815, allocations: 127.9 kB / 1.194 GB, free: 12.66 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003112/0.4846, allocations: 1.447 MB / 1.195 GB, free: 11.21 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0007429/0.4854, allocations: 0.7428 MB / 1.196 GB, free: 10.47 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.002126/0.4875, allocations: 1.792 MB / 1.198 GB, free: 8.66 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.005346/0.4928, allocations: 5.065 MB / 1.203 GB, free: 3.578 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.4929, allocations: 4 kB / 1.203 GB, free: 3.574 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.993e-06/0.4929, allocations: 0 / 1.203 GB, free: 3.574 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 5.898e-05/0.4929, allocations: 0 / 1.203 GB, free: 3.574 MB / 0.9512 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.007044/0.5, allocations: 4.157 MB / 1.207 GB, free: 15.33 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.927e-05/0.5, allocations: 8.031 kB / 1.207 GB, free: 15.32 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002936/0.503, allocations: 0.7017 MB / 1.207 GB, free: 14.62 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005841/0.5088, allocations: 3.668 MB / 1.211 GB, free: 10.89 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001418/0.509, allocations: 147.8 kB / 1.211 GB, free: 10.75 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003047/0.5093, allocations: 184 kB / 1.211 GB, free: 10.57 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00392/0.5133, allocations: 2.355 MB / 1.214 GB, free: 8.07 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.731e-05/0.5133, allocations: 7.938 kB / 1.214 GB, free: 8.062 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001893/0.5135, allocations: 67.98 kB / 1.214 GB, free: 7.996 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.26e-05/0.5135, allocations: 40 kB / 1.214 GB, free: 7.957 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00381/0.5174, allocations: 1.951 MB / 1.216 GB, free: 6 MB / 0.9669 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.01506/0.5324, allocations: 12.08 MB / 1.227 GB, free: 9.301 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002964/0.5354, allocations: 1.394 MB / 1.229 GB, free: 7.898 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001715/0.5371, allocations: 1.025 MB / 1.23 GB, free: 6.871 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006182/0.5433, allocations: 3.82 MB / 1.233 GB, free: 2.785 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001516/0.5449, allocations: 0.7897 MB / 1.234 GB, free: 1.984 MB / 0.9825 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001609/0.5465, allocations: 462.4 kB / 1.235 GB, free: 1.531 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=95): time 2.916e-06/0.5465, allocations: 0 / 1.235 GB, free: 1.531 MB / 0.9825 GB Notification: Performance of matching and sorting (n=95): time 0.01241/0.5589, allocations: 4.277 MB / 1.239 GB, free: 13.2 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.974e-05/0.559, allocations: 72.39 kB / 1.239 GB, free: 13.12 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004423/0.5634, allocations: 3.435 MB / 1.242 GB, free: 9.656 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001505/0.5636, allocations: 53.7 kB / 1.242 GB, free: 9.598 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001327/0.5649, allocations: 1.559 MB / 1.244 GB, free: 8.023 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003017/0.5652, allocations: 347.2 kB / 1.244 GB, free: 7.68 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002476/0.5655, allocations: 185.6 kB / 1.244 GB, free: 7.492 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 9.859e-05/0.5656, allocations: 309.1 kB / 1.245 GB, free: 7.188 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001607/0.5672, allocations: 0.8549 MB / 1.245 GB, free: 6.332 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002092/0.5693, allocations: 1.664 MB / 1.247 GB, free: 4.312 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003425/0.5728, allocations: 2.245 MB / 1.249 GB, free: 1.859 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.768e-06/0.5728, allocations: 4 kB / 1.249 GB, free: 1.855 MB / 0.9981 GB Notification: Performance of matching and sorting (n=247) (initialization): time 0.6102/1.183, allocations: 3.311 MB / 1.253 GB, free: 171.2 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.000328/1.183, allocations: 0.564 MB / 1.253 GB, free: 170.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.011e-05/1.183, allocations: 14.5 kB / 1.253 GB, free: 170.6 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002644/1.186, allocations: 0.7007 MB / 1.254 GB, free: 170.6 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001602/1.188, allocations: 351.1 kB / 1.254 GB, free: 170.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001962/1.19, allocations: 1.909 MB / 1.256 GB, free: 169.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002755/1.192, allocations: 204.7 kB / 1.256 GB, free: 169.5 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001864/1.193, allocations: 90.53 kB / 1.256 GB, free: 169.5 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.139e-05/1.193, allocations: 4.125 kB / 1.256 GB, free: 169.5 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004778/1.197, allocations: 2.852 MB / 1.259 GB, free: 169.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.065e-05/1.197, allocations: 16.16 kB / 1.259 GB, free: 169.2 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008681/1.198, allocations: 474.4 kB / 1.259 GB, free: 169.2 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001264/1.2, allocations: 351.1 kB / 1.26 GB, free: 169.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007154/1.207, allocations: 5.85 MB / 1.266 GB, free: 166.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003668/1.211, allocations: 207.4 kB / 1.266 GB, free: 166.2 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003773/1.211, allocations: 80.67 kB / 1.266 GB, free: 166.1 MB / 0.9981 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.003103/1.214, allocations: 0.9411 MB / 1.267 GB, free: 165.7 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001274/1.215, allocations: 333 kB / 1.267 GB, free: 165.7 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005817/1.221, allocations: 2.356 MB / 1.269 GB, free: 164.8 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.906e-05/1.221, allocations: 11.09 kB / 1.269 GB, free: 164.8 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/1.221, allocations: 0 / 1.269 GB, free: 164.8 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00371/1.225, allocations: 2.034 MB / 1.271 GB, free: 163.8 MB / 0.9981 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.0097/1.235, allocations: 4.55 MB / 1.276 GB, free: 161.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.755e-06/1.235, allocations: 5.547 kB / 1.276 GB, free: 161.9 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008202/1.236, allocations: 147.7 kB / 1.276 GB, free: 161.9 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001101/1.237, allocations: 479 kB / 1.276 GB, free: 161.8 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.285e-05/1.237, allocations: 30.61 kB / 1.276 GB, free: 161.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001638/1.238, allocations: 1.854 MB / 1.278 GB, free: 160.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/1.238, allocations: 1.5 kB / 1.278 GB, free: 160.4 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006255/1.245, allocations: 3.141 MB / 1.281 GB, free: 159.2 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001725/1.246, allocations: 0.5543 MB / 1.282 GB, free: 158.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003634/1.247, allocations: 22.69 kB / 1.282 GB, free: 158.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001485/1.248, allocations: 161.3 kB / 1.282 GB, free: 158.9 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001951/1.248, allocations: 64.67 kB / 1.282 GB, free: 158.8 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001008/1.249, allocations: 38.22 kB / 1.282 GB, free: 158.8 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.004084/1.253, allocations: 2.33 MB / 1.284 GB, free: 158 MB / 0.9981 GB Notification: Performance of sort global known variables: time 4.11e-07/1.253, allocations: 0 / 1.284 GB, free: 158 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.004931/1.258, allocations: 1.529 MB / 1.286 GB, free: 157.9 MB / 0.9981 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.001537/1.259, allocations: 0.5659 MB / 1.286 GB, free: 157.8 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.007236/1.266, allocations: 3.685 MB / 1.29 GB, free: 156.2 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.72e-06/1.266, allocations: 1.094 kB / 1.29 GB, free: 156.2 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001624/1.268, allocations: 0.7811 MB / 1.291 GB, free: 156 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007272/1.275, allocations: 1.369 MB / 1.292 GB, free: 155.6 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01154/1.287, allocations: 6.973 MB / 1.299 GB, free: 152 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001419/1.288, allocations: 2.216 MB / 1.301 GB, free: 151 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.003345/1.292, allocations: 0.7775 MB / 1.302 GB, free: 150.7 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005588/1.292, allocations: 225.5 kB / 1.302 GB, free: 150.7 MB / 0.9981 GB Notification: Performance of SimCode: time 1.172e-06/1.292, allocations: 0 / 1.302 GB, free: 150.7 MB / 0.9981 GB Notification: Performance of Templates: time 0.0847/1.377, allocations: 58.91 MB / 1.36 GB, free: 96.32 MB / 0.9981 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Examples.Performance.Example1v1.makefile (rm -f Buildings_1.6_Buildings.Fluid.Examples.Performance.Example1v1.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.Examples.Performance.Example1v1.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.Examples.Performance.Example1v1.pipe >> ../files/Buildings_1.6_Buildings.Fluid.Examples.Performance.Example1v1.sim & ./Buildings_1.6_Buildings.Fluid.Examples.Performance.Example1v1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.Examples.Performance.Example1v1.pipe 2>&1)