Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad.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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/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: "" <> buildModelFMU(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad,fileNamePrefix="Buildings_10_Buildings_Fluid_Chillers_Examples_AbsorptionIndirectSteamVaryingLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad,fileNamePrefix="Buildings_10_Buildings_Fluid_Chillers_Examples_AbsorptionIndirectSteamVaryingLoad",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001146/0.001146, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001147/0.001147, allocations: 193.7 kB / 16.14 MB, free: 6.699 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.185/1.185, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.419/2.419, allocations: 437 MB / 0.7099 GB, free: 5.398 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001397/0.001397, allocations: 67.91 kB / 0.8687 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6487/0.6501, allocations: 151.6 MB / 1.017 GB, free: 2.82 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad): time 0.06203/0.7122, allocations: 74.26 MB / 1.089 GB, free: 8.312 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.02602/0.7382, allocations: 21.64 MB / 1.11 GB, free: 2.617 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002716/0.741, allocations: 87.5 kB / 1.11 GB, free: 2.531 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.007793/0.7488, allocations: 4.328 MB / 1.115 GB, free: 14.2 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.005977/0.7548, allocations: 2.839 MB / 1.117 GB, free: 11.34 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.003943/0.7588, allocations: 1.969 MB / 1.119 GB, free: 9.391 MB / 0.8731 GB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1088:9-1088:67:writable] Error: Internal error NFCeval.evalBinaryMul failed to evaluate ‘{0.0, 0.0004961901834698359}[pressure.n] * 0.0‘ Notification: Performance of NFFlatten.flatten: time 0.009199/0.768, allocations: 9.668 MB / 1.129 GB, free: 15.7 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001914/0.7699, allocations: 1.718 MB / 1.13 GB, free: 13.93 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00249/0.7724, allocations: 1.855 MB / 1.132 GB, free: 12.07 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001417/0.7738, allocations: 1.583 MB / 1.134 GB, free: 10.48 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0002267/0.7741, allocations: 116 kB / 1.134 GB, free: 10.37 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003079/0.7772, allocations: 1.933 MB / 1.136 GB, free: 8.43 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0005326/0.7777, allocations: 0.6927 MB / 1.137 GB, free: 7.734 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.001025/0.7787, allocations: 1.294 MB / 1.138 GB, free: 6.434 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.003815/0.7826, allocations: 4.331 MB / 1.142 GB, free: 2.09 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 2.866e-06/0.7826, allocations: 0 / 1.142 GB, free: 2.09 MB / 0.8887 GB Notification: Performance of FrontEnd: time 6.82e-07/0.7826, allocations: 0 / 1.142 GB, free: 2.09 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 2.017e-05/0.7826, allocations: 0 / 1.142 GB, free: 2.09 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: 317 * Number of variables: 317 Notification: Performance of Generate backend data structure: time 0.004712/0.7873, allocations: 3.198 MB / 1.145 GB, free: 14.82 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.914e-05/0.7874, allocations: 11.98 kB / 1.145 GB, free: 14.81 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002004/0.7876, allocations: 193.9 kB / 1.145 GB, free: 14.61 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006469/0.7941, allocations: 1.136 MB / 1.146 GB, free: 13.47 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004432/0.7985, allocations: 2.948 MB / 1.149 GB, free: 10.45 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009641/0.7995, allocations: 315.9 kB / 1.15 GB, free: 10.14 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002019/0.7997, allocations: 136 kB / 1.15 GB, free: 10 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004214/0.8039, allocations: 1.95 MB / 1.152 GB, free: 7.984 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.166e-05/0.8039, allocations: 0 / 1.152 GB, free: 7.984 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001445/0.8041, allocations: 48 kB / 1.152 GB, free: 7.938 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.577e-05/0.8041, allocations: 32 kB / 1.152 GB, free: 7.906 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005661/0.8098, allocations: 2.098 MB / 1.154 GB, free: 5.801 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.0118/0.8216, allocations: 8.446 MB / 1.162 GB, free: 12.89 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004882/0.8265, allocations: 1.684 MB / 1.164 GB, free: 11.2 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002088/0.8286, allocations: 0.752 MB / 1.164 GB, free: 10.45 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004871/0.8335, allocations: 3.878 MB / 1.168 GB, free: 6.262 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.583e-05/0.8335, allocations: 39.12 kB / 1.168 GB, free: 6.215 MB / 0.92 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006068/0.8341, allocations: 230.5 kB / 1.168 GB, free: 5.988 MB / 0.92 GB Notification: Performance of pre-optimization done (n=58): time 1.813e-06/0.8341, allocations: 0 / 1.168 GB, free: 5.988 MB / 0.92 GB Notification: Performance of matching and sorting (n=58): time 0.01166/0.8458, allocations: 3.046 MB / 1.171 GB, free: 2.906 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.499e-05/0.8459, allocations: 55.97 kB / 1.171 GB, free: 2.84 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002983/0.8488, allocations: 2.618 MB / 1.174 GB, free: 212 kB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 8.502e-05/0.8489, allocations: 45.64 kB / 1.174 GB, free: 160 kB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008094/0.8498, allocations: 1.107 MB / 1.175 GB, free: 15.04 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001807/0.85, allocations: 217 kB / 1.175 GB, free: 14.82 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004642/0.8504, allocations: 334.5 kB / 1.176 GB, free: 14.49 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 8.495e-05/0.8505, allocations: 305.1 kB / 1.176 GB, free: 14.19 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002288/0.8528, allocations: 0.9284 MB / 1.177 GB, free: 13.26 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002568/0.8554, allocations: 1.364 MB / 1.178 GB, free: 11.72 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004341/0.8597, allocations: 2.029 MB / 1.18 GB, free: 9.543 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.603e-06/0.8598, allocations: 7.938 kB / 1.18 GB, free: 9.535 MB / 0.9356 GB Notification: Performance of matching and sorting (n=187) (initialization): time 0.00763/0.8674, allocations: 2.827 MB / 1.183 GB, free: 6.691 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.262e-05/0.8674, allocations: 15.09 kB / 1.183 GB, free: 6.68 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.331e-05/0.8674, allocations: 12 kB / 1.183 GB, free: 6.668 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001185/0.8686, allocations: 0.5043 MB / 1.183 GB, free: 6.16 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0015/0.8702, allocations: 379.4 kB / 1.184 GB, free: 5.789 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002094/0.8723, allocations: 1.11 MB / 1.185 GB, free: 4.652 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002073/0.8743, allocations: 276.1 kB / 1.185 GB, free: 4.383 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000132/0.8745, allocations: 75.95 kB / 1.185 GB, free: 4.309 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (147): * Single equations (assignments): 144 * Array equations: 1 * Algorithm blocks: 0 * 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,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0007409/0.8752, allocations: 0.5559 MB / 1.186 GB, free: 3.742 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003179/0.8756, allocations: 236.9 kB / 1.186 GB, free: 3.508 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006048/0.8816, allocations: 2.06 MB / 1.188 GB, free: 1.441 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.298e-05/0.8816, allocations: 7.938 kB / 1.188 GB, free: 1.434 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.8816, allocations: 0 / 1.188 GB, free: 1.434 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.735e-06/0.8817, allocations: 7.984 kB / 1.188 GB, free: 1.426 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.007792/0.8895, allocations: 4.066 MB / 1.192 GB, free: 13.22 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.542e-06/0.8895, allocations: 8.031 kB / 1.192 GB, free: 13.21 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001029/0.8905, allocations: 203.7 kB / 1.192 GB, free: 13.02 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001042/0.8916, allocations: 480.4 kB / 1.193 GB, free: 12.54 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.856e-05/0.8916, allocations: 31.95 kB / 1.193 GB, free: 12.51 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002018/0.8937, allocations: 1.079 MB / 1.194 GB, free: 11.41 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.8937, allocations: 7.938 kB / 1.194 GB, free: 11.4 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006354/0.9, allocations: 2.159 MB / 1.196 GB, free: 9.18 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006918/0.9007, allocations: 489.6 kB / 1.196 GB, free: 8.68 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002893/0.901, allocations: 16 kB / 1.196 GB, free: 8.664 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001725/0.9028, allocations: 207.7 kB / 1.197 GB, free: 8.461 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.867e-05/0.9029, allocations: 56.36 kB / 1.197 GB, free: 8.406 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.664e-05/0.903, allocations: 39.97 kB / 1.197 GB, free: 8.367 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.002323/0.9053, allocations: 1.808 MB / 1.198 GB, free: 6.559 MB / 0.9512 GB Notification: Performance of sort global known variables: time 2.4e-07/0.9053, allocations: 0 / 1.198 GB, free: 6.559 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.00175/0.9071, allocations: 0.7256 MB / 1.199 GB, free: 5.832 MB / 0.9512 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (61): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.007799/0.9149, allocations: 3.287 MB / 1.202 GB, free: 2.492 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.005305/0.9202, allocations: 2.001 MB / 1.204 GB, free: 500 kB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.9202, allocations: 0 / 1.204 GB, free: 500 kB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.00256/0.9228, allocations: 0.8405 MB / 1.205 GB, free: 15.65 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004346/0.9271, allocations: 1.104 MB / 1.206 GB, free: 14.56 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04316/0.9703, allocations: 22.93 MB / 1.229 GB, free: 6.035 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001289/0.9716, allocations: 1.625 MB / 1.23 GB, free: 4.375 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.002106/0.9738, allocations: 465.6 kB / 1.231 GB, free: 3.926 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001275/0.975, allocations: 0.9913 MB / 1.232 GB, free: 2.934 MB / 0.9825 GB Notification: Performance of SimCode: time 6.81e-07/0.975, allocations: 0 / 1.232 GB, free: 2.934 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.544/3.52, allocations: 65.93 MB / 1.296 GB, free: 199.8 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000206/3.52, allocations: 289.8 kB / 1.296 GB, free: 199.4 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.685/7.205, allocations: 3.938 kB / 1.296 GB, free: 199.4 MB / 0.9981 GB (rm -f Buildings_10_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad.pipe ; mkfifo Buildings_10_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad.pipe >> ../files/Buildings_10_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Chillers_Examples_AbsorptionIndirectSteamVaryingLoad_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_Chillers_Examples_AbsorptionIndirectSteamVaryingLoad.fmu > Buildings_10_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad.pipe 2>&1)