Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.Examples.Performance.Example3.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.Example3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Examples.Performance.Example3") translateModel(Buildings.Fluid.Examples.Performance.Example3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Examples.Performance.Example3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001492/0.001492, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001835/0.001834, allocations: 197.9 kB / 16.14 MB, free: 6.695 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.403/1.403, allocations: 222.9 MB / 239.8 MB, free: 4.66 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.829/2.829, allocations: 472.6 MB / 0.7447 GB, free: 5.016 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001248/0.001248, allocations: 67.81 kB / 0.9113 GB, free: 33.57 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3327/0.334, allocations: 159.9 MB / 1.067 GB, free: 10.92 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example3): time 0.03113/0.3651, allocations: 33.01 MB / 1.1 GB, free: 9.789 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.01945/0.3846, allocations: 12.47 MB / 1.112 GB, free: 13.29 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00239/0.3871, allocations: 51.69 kB / 1.112 GB, free: 13.24 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.009029/0.3962, allocations: 3.82 MB / 1.116 GB, free: 9.414 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.005106/0.4013, allocations: 1.524 MB / 1.117 GB, free: 7.887 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.003971/0.4053, allocations: 1.286 MB / 1.118 GB, free: 6.605 MB / 0.8731 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1088:9-1088: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.01291/0.4182, allocations: 9.42 MB / 1.128 GB, free: 13.17 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003194/0.4215, allocations: 1.796 MB / 1.129 GB, free: 11.34 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003972/0.4255, allocations: 1.637 MB / 1.131 GB, free: 9.695 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002737/0.4282, allocations: 1.443 MB / 1.132 GB, free: 8.246 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0006523/0.4289, allocations: 88 kB / 1.132 GB, free: 8.16 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003806/0.4327, allocations: 1.314 MB / 1.134 GB, free: 6.844 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.001015/0.4338, allocations: 0.5331 MB / 1.134 GB, free: 6.309 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.00233/0.4361, allocations: 1.119 MB / 1.135 GB, free: 5.184 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.005947/0.4421, allocations: 3.431 MB / 1.139 GB, free: 1.742 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 6.022e-06/0.4421, allocations: 0 / 1.139 GB, free: 1.742 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.733e-06/0.4421, allocations: 0 / 1.139 GB, free: 1.742 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 0.000135/0.4423, allocations: 4 kB / 1.139 GB, free: 1.738 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: 239 * Number of variables: 239 Notification: Performance of Generate backend data structure: time 0.006727/0.449, allocations: 2.789 MB / 1.141 GB, free: 14.87 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.159e-05/0.4491, allocations: 8.031 kB / 1.141 GB, free: 14.86 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002329/0.4514, allocations: 436.6 kB / 1.142 GB, free: 14.43 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005254/0.4567, allocations: 2.673 MB / 1.144 GB, free: 11.69 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001281/0.4568, allocations: 94.16 kB / 1.145 GB, free: 11.6 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003185/0.4572, allocations: 107.9 kB / 1.145 GB, free: 11.49 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002828/0.46, allocations: 1.319 MB / 1.146 GB, free: 10.09 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.627e-05/0.4601, allocations: 4 kB / 1.146 GB, free: 10.09 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001337/0.4602, allocations: 43.94 kB / 1.146 GB, free: 10.05 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.311e-05/0.4602, allocations: 24 kB / 1.146 GB, free: 10.02 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002372/0.4626, allocations: 1.03 MB / 1.147 GB, free: 8.996 MB / 0.9044 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.009609/0.4722, allocations: 7.134 MB / 1.154 GB, free: 1.355 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0015/0.4738, allocations: 0.6045 MB / 1.155 GB, free: 0.7461 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007754/0.4745, allocations: 405.8 kB / 1.155 GB, free: 356 kB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003279/0.4778, allocations: 1.755 MB / 1.157 GB, free: 14.45 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008519/0.4787, allocations: 371.4 kB / 1.157 GB, free: 14.08 MB / 0.92 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008027/0.4795, allocations: 111.2 kB / 1.157 GB, free: 13.97 MB / 0.92 GB Notification: Performance of pre-optimization done (n=45): time 3.627e-06/0.4796, allocations: 0 / 1.157 GB, free: 13.97 MB / 0.92 GB Notification: Performance of matching and sorting (n=45): time 0.003919/0.4835, allocations: 1.37 MB / 1.159 GB, free: 12.57 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.472e-05/0.4835, allocations: 63.39 kB / 1.159 GB, free: 12.49 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003891/0.4874, allocations: 2.36 MB / 1.161 GB, free: 10.11 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0001146/0.4876, allocations: 37.7 kB / 1.161 GB, free: 10.07 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009665/0.4886, allocations: 0.9958 MB / 1.162 GB, free: 9.062 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001906/0.4888, allocations: 161.8 kB / 1.162 GB, free: 8.902 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004541/0.4892, allocations: 290.5 kB / 1.162 GB, free: 8.613 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001486/0.4894, allocations: 361.9 kB / 1.163 GB, free: 8.254 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009903/0.4904, allocations: 0.4939 MB / 1.163 GB, free: 7.754 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001324/0.4917, allocations: 0.9892 MB / 1.164 GB, free: 6.543 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002138/0.4939, allocations: 1.335 MB / 1.165 GB, free: 5.047 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.247e-05/0.4939, allocations: 8 kB / 1.165 GB, free: 5.039 MB / 0.92 GB Notification: Performance of matching and sorting (n=165) (initialization): time 0.004019/0.4979, allocations: 1.8 MB / 1.167 GB, free: 3.219 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 5.483e-05/0.498, allocations: 37.7 kB / 1.167 GB, free: 3.176 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.76e-05/0.498, allocations: 12 kB / 1.167 GB, free: 3.164 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007462/0.4988, allocations: 180.7 kB / 1.167 GB, free: 2.984 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008693/0.4997, allocations: 227.6 kB / 1.168 GB, free: 2.762 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008455/0.5005, allocations: 0.763 MB / 1.168 GB, free: 1.973 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002326/0.5029, allocations: 124.3 kB / 1.168 GB, free: 1.852 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001801/0.5031, allocations: 55.98 kB / 1.169 GB, free: 1.797 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002334/0.5054, allocations: 1.01 MB / 1.17 GB, free: 0.7812 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001399/0.5068, allocations: 0.9697 MB / 1.17 GB, free: 15.6 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002058/0.5089, allocations: 1.307 MB / 1.172 GB, free: 14.13 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.751e-05/0.5089, allocations: 11.88 kB / 1.172 GB, free: 14.12 MB / 0.9356 GB Notification: Performance of matching and sorting (n=165) (initialization_lambda0): time 0.003816/0.5127, allocations: 1.782 MB / 1.173 GB, free: 12.3 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 4.499e-05/0.5128, allocations: 39.11 kB / 1.174 GB, free: 12.25 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.902e-05/0.5128, allocations: 15.94 kB / 1.174 GB, free: 12.24 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002631/0.5131, allocations: 128.2 kB / 1.174 GB, free: 12.11 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007737/0.5139, allocations: 223.9 kB / 1.174 GB, free: 11.89 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002176/0.5161, allocations: 2.123 MB / 1.176 GB, free: 9.633 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001637/0.5177, allocations: 112.3 kB / 1.176 GB, free: 9.523 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001164/0.5178, allocations: 55.98 kB / 1.176 GB, free: 9.469 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * Number of states: 0 () * Number of discrete variables: 8 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1,nRes.y,from_dp.y,mergeDp.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (119): * Single equations (assignments): 115 * 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 {(1,12)} Notification: Performance of prepare postOptimizeDAE: time 0.0003523/0.5182, allocations: 255.8 kB / 1.176 GB, free: 9.211 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005095/0.5187, allocations: 209.3 kB / 1.177 GB, free: 9.004 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002511/0.5212, allocations: 1.033 MB / 1.178 GB, free: 7.957 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.331e-05/0.5213, allocations: 8 kB / 1.178 GB, free: 7.949 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.5213, allocations: 4 kB / 1.178 GB, free: 7.945 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00165/0.5229, allocations: 0.9545 MB / 1.179 GB, free: 6.918 MB / 0.9356 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.005023/0.528, allocations: 2.363 MB / 1.181 GB, free: 4.477 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.671e-06/0.528, allocations: 0 / 1.181 GB, free: 4.477 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000513/0.5285, allocations: 87.92 kB / 1.181 GB, free: 4.391 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003145/0.5288, allocations: 123.5 kB / 1.181 GB, free: 4.27 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.616e-05/0.5289, allocations: 23.94 kB / 1.181 GB, free: 4.246 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005918/0.5295, allocations: 0.7512 MB / 1.182 GB, free: 3.469 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.5295, allocations: 0 / 1.182 GB, free: 3.469 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002883/0.5324, allocations: 1.401 MB / 1.183 GB, free: 2.039 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000853/0.5333, allocations: 362.3 kB / 1.183 GB, free: 1.664 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004918/0.5338, allocations: 16 kB / 1.183 GB, free: 1.648 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001133/0.5349, allocations: 75.92 kB / 1.184 GB, free: 1.574 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001268/0.5351, allocations: 40.38 kB / 1.184 GB, free: 1.535 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.555e-05/0.5351, allocations: 19.98 kB / 1.184 GB, free: 1.516 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.002862/0.538, allocations: 1.603 MB / 1.185 GB, free: 15.9 MB / 0.9512 GB Notification: Performance of sort global known variables: time 3e-07/0.538, allocations: 0 / 1.185 GB, free: 15.9 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.003283/0.5413, allocations: 0.9517 MB / 1.186 GB, free: 14.95 MB / 0.9512 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (pump.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 (39): * Single equations (assignments): 33 * 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 {(1,12)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001472/0.5428, allocations: 0.5053 MB / 1.187 GB, free: 14.44 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0039/0.5467, allocations: 2.005 MB / 1.189 GB, free: 12.4 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 6.211e-06/0.5467, allocations: 0 / 1.189 GB, free: 12.4 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0008686/0.5476, allocations: 343.9 kB / 1.189 GB, free: 12.07 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004732/0.5524, allocations: 0.921 MB / 1.19 GB, free: 11.15 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008077/0.5605, allocations: 4.319 MB / 1.194 GB, free: 6.797 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001597/0.5621, allocations: 1.674 MB / 1.196 GB, free: 5.09 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.002374/0.5645, allocations: 0.5399 MB / 1.196 GB, free: 4.547 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005276/0.565, allocations: 163.4 kB / 1.196 GB, free: 4.387 MB / 0.9512 GB Notification: Performance of SimCode: time 1.092e-06/0.565, allocations: 0 / 1.196 GB, free: 4.387 MB / 0.9512 GB Notification: Performance of Templates: time 0.06851/0.6336, allocations: 38.06 MB / 1.234 GB, free: 14.77 MB / 0.9981 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Examples.Performance.Example3.makefile (rm -f Buildings_1.6_Buildings.Fluid.Examples.Performance.Example3.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.Examples.Performance.Example3.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.Examples.Performance.Example3.pipe >> ../files/Buildings_1.6_Buildings.Fluid.Examples.Performance.Example3.sim & ./Buildings_1.6_Buildings.Fluid.Examples.Performance.Example3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.Examples.Performance.Example3.pipe 2>&1)