Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.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/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.Example2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Examples.Performance.Example2") translateModel(Buildings.Fluid.Examples.Performance.Example2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.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.00101/0.00101, allocations: 90.44 kB / 15.36 MB, free: 0.7383 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.009962/0.009962, allocations: 172.8 kB / 16.26 MB, free: 6.676 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.396/1.396, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.922/2.922, allocations: 473.4 MB / 0.7469 GB, free: 6.066 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.000357/0.0003573, allocations: 7.438 kB / 0.9158 GB, free: 33.04 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3357/0.3361, allocations: 162.2 MB / 1.074 GB, free: 7.531 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example2): time 0.03325/0.3694, allocations: 29.14 MB / 1.103 GB, free: 10.29 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.01722/0.3867, allocations: 11.72 MB / 1.114 GB, free: 14.54 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002033/0.3888, allocations: 39.75 kB / 1.114 GB, free: 14.5 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.00793/0.3967, allocations: 3.77 MB / 1.118 GB, free: 10.73 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.004784/0.4015, allocations: 1.404 MB / 1.119 GB, free: 9.316 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.003791/0.4053, allocations: 1.269 MB / 1.12 GB, free: 8.055 MB / 0.8731 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.002008867139553991}[pressure.n] * 0.0‘ Notification: Performance of NFFlatten.flatten: time 0.01098/0.4163, allocations: 7.992 MB / 1.128 GB, free: 48 kB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002461/0.4188, allocations: 1.146 MB / 1.129 GB, free: 14.86 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003214/0.422, allocations: 1.233 MB / 1.13 GB, free: 13.62 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002242/0.4243, allocations: 1.077 MB / 1.132 GB, free: 12.54 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0004246/0.4247, allocations: 55.94 kB / 1.132 GB, free: 12.49 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003548/0.4283, allocations: 1.263 MB / 1.133 GB, free: 11.22 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0007786/0.4291, allocations: 454.2 kB / 1.133 GB, free: 10.78 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.001459/0.4306, allocations: 0.8874 MB / 1.134 GB, free: 9.879 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.004078/0.4347, allocations: 2.904 MB / 1.137 GB, free: 6.965 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 6.271e-06/0.4347, allocations: 0 / 1.137 GB, free: 6.965 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.435e-06/0.4347, allocations: 0 / 1.137 GB, free: 6.965 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 2.367e-05/0.4347, allocations: 0 / 1.137 GB, free: 6.965 MB / 0.8887 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.003385/0.4381, allocations: 2.02 MB / 1.139 GB, free: 4.875 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.31e-05/0.4382, allocations: 12.03 kB / 1.139 GB, free: 4.863 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001788/0.44, allocations: 389.2 kB / 1.139 GB, free: 4.48 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003656/0.4436, allocations: 2.332 MB / 1.142 GB, free: 2.102 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.451e-05/0.4437, allocations: 78.22 kB / 1.142 GB, free: 2.023 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001463/0.4439, allocations: 88 kB / 1.142 GB, free: 1.938 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001849/0.4458, allocations: 1.02 MB / 1.143 GB, free: 0.8633 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.207e-05/0.4458, allocations: 0 / 1.143 GB, free: 0.8633 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.462e-05/0.4459, allocations: 32 kB / 1.143 GB, free: 0.832 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.894e-05/0.4459, allocations: 20 kB / 1.143 GB, free: 0.8125 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001725/0.4476, allocations: 0.7805 MB / 1.144 GB, free: 32 kB / 0.8887 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.006526/0.4542, allocations: 5.357 MB / 1.149 GB, free: 10.3 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001395/0.4556, allocations: 0.5868 MB / 1.149 GB, free: 9.711 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007445/0.4563, allocations: 345.1 kB / 1.15 GB, free: 9.375 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002476/0.4588, allocations: 1.635 MB / 1.151 GB, free: 7.59 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007721/0.4596, allocations: 335.1 kB / 1.152 GB, free: 7.25 MB / 0.9044 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004733/0.4601, allocations: 119.2 kB / 1.152 GB, free: 7.133 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=43): time 2.425e-06/0.4601, allocations: 0 / 1.152 GB, free: 7.133 MB / 0.9044 GB Notification: Performance of matching and sorting (n=43): time 0.003385/0.4635, allocations: 1.255 MB / 1.153 GB, free: 5.848 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.909e-05/0.4636, allocations: 59.36 kB / 1.153 GB, free: 5.777 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002339/0.4659, allocations: 1.842 MB / 1.155 GB, free: 3.891 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 6.197e-05/0.466, allocations: 37.7 kB / 1.155 GB, free: 3.848 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007089/0.4667, allocations: 0.7793 MB / 1.156 GB, free: 3.059 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001365/0.4668, allocations: 157.8 kB / 1.156 GB, free: 2.902 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001446/0.467, allocations: 125.6 kB / 1.156 GB, free: 2.773 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.000127/0.4671, allocations: 357.9 kB / 1.156 GB, free: 2.418 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008446/0.468, allocations: 454 kB / 1.157 GB, free: 1.973 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001112/0.4691, allocations: 0.8358 MB / 1.157 GB, free: 0.9648 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001798/0.4709, allocations: 1.172 MB / 1.159 GB, free: 15.67 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.026e-05/0.4709, allocations: 4 kB / 1.159 GB, free: 15.66 MB / 0.92 GB Notification: Performance of matching and sorting (n=151) (initialization): time 0.003065/0.474, allocations: 1.602 MB / 1.16 GB, free: 14.05 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002795/0.4743, allocations: 376.3 kB / 1.161 GB, free: 13.55 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.585e-05/0.4743, allocations: 8 kB / 1.161 GB, free: 13.54 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006448/0.475, allocations: 196.6 kB / 1.161 GB, free: 13.35 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007311/0.4757, allocations: 211.6 kB / 1.161 GB, free: 13.14 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007327/0.4765, allocations: 0.763 MB / 1.162 GB, free: 12.35 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001246/0.4777, allocations: 105.6 kB / 1.162 GB, free: 12.25 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.479e-05/0.4778, allocations: 51.98 kB / 1.162 GB, free: 12.2 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 7.825e-06/0.4778, allocations: 3.938 kB / 1.162 GB, free: 12.19 MB / 0.92 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002308/0.4802, allocations: 1.424 MB / 1.163 GB, free: 10.74 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.253e-05/0.4802, allocations: 8 kB / 1.163 GB, free: 10.73 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001959/0.4804, allocations: 108.8 kB / 1.163 GB, free: 10.62 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006477/0.481, allocations: 203.9 kB / 1.164 GB, free: 10.42 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002131/0.4832, allocations: 2.154 MB / 1.166 GB, free: 8.121 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001339/0.4845, allocations: 101.7 kB / 1.166 GB, free: 8.023 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.503e-05/0.4846, allocations: 44 kB / 1.166 GB, free: 7.98 MB / 0.92 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.0009755/0.4856, allocations: 0.5878 MB / 1.166 GB, free: 7.383 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002261/0.4858, allocations: 161.8 kB / 1.166 GB, free: 7.223 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00197/0.4878, allocations: 0.9121 MB / 1.167 GB, free: 6.301 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.246e-05/0.4878, allocations: 8 kB / 1.167 GB, free: 6.293 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.094e-06/0.4879, allocations: 0 / 1.167 GB, free: 6.293 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001491/0.4893, allocations: 0.8959 MB / 1.168 GB, free: 5.328 MB / 0.92 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.003456/0.4928, allocations: 2.055 MB / 1.17 GB, free: 3.184 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.758e-06/0.4928, allocations: 0 / 1.17 GB, free: 3.184 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004379/0.4933, allocations: 95.92 kB / 1.17 GB, free: 3.09 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002748/0.4936, allocations: 128.8 kB / 1.17 GB, free: 2.961 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.636e-05/0.4936, allocations: 11.98 kB / 1.17 GB, free: 2.949 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005707/0.4942, allocations: 0.757 MB / 1.171 GB, free: 2.168 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.4942, allocations: 0 / 1.171 GB, free: 2.168 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002308/0.4965, allocations: 1.258 MB / 1.172 GB, free: 0.8789 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004943/0.497, allocations: 326.8 kB / 1.173 GB, free: 0.5391 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001616/0.4972, allocations: 15.88 kB / 1.173 GB, free: 0.5234 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007546/0.4979, allocations: 79.98 kB / 1.173 GB, free: 456 kB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001044/0.4981, allocations: 36.38 kB / 1.173 GB, free: 420 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.893e-05/0.4981, allocations: 23.98 kB / 1.173 GB, free: 396 kB / 0.92 GB Notification: Performance of sorting global known variables: time 0.001657/0.4998, allocations: 1.246 MB / 1.174 GB, free: 15.12 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.71e-07/0.4998, allocations: 0 / 1.174 GB, free: 15.12 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.002126/0.5019, allocations: 0.8034 MB / 1.175 GB, free: 14.31 MB / 0.9356 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.001072/0.503, allocations: 495.6 kB / 1.175 GB, free: 13.82 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.00343/0.5064, allocations: 1.886 MB / 1.177 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.536e-06/0.5065, allocations: 4.062 kB / 1.177 GB, free: 11.9 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0007991/0.5073, allocations: 338.4 kB / 1.178 GB, free: 11.57 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003416/0.5107, allocations: 0.743 MB / 1.178 GB, free: 10.83 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006046/0.5168, allocations: 3.571 MB / 1.182 GB, free: 7.227 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001002/0.5178, allocations: 1.436 MB / 1.183 GB, free: 5.762 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.001694/0.5195, allocations: 437.2 kB / 1.184 GB, free: 5.328 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000333/0.5198, allocations: 127.4 kB / 1.184 GB, free: 5.203 MB / 0.9356 GB Notification: Performance of SimCode: time 1.122e-06/0.5198, allocations: 0 / 1.184 GB, free: 5.203 MB / 0.9356 GB Notification: Performance of Templates: time 0.05349/0.5733, allocations: 31.91 MB / 1.215 GB, free: 5.664 MB / 0.9669 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Examples.Performance.Example2.makefile (rm -f Buildings_1.6_Buildings.Fluid.Examples.Performance.Example2.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.Examples.Performance.Example2.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.Examples.Performance.Example2.pipe >> ../files/Buildings_1.6_Buildings.Fluid.Examples.Performance.Example2.sim & ./Buildings_1.6_Buildings.Fluid.Examples.Performance.Example2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.Examples.Performance.Example2.pipe 2>&1)