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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001001/0.001001, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001545/0.001545, allocations: 193.7 kB / 16.25 MB, free: 6.629 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.165/1.165, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.357/2.357, allocations: 437.1 MB / 0.7101 GB, free: 5.27 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001137/0.001137, allocations: 71.88 kB / 0.8689 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5197/0.5209, allocations: 151.6 MB / 1.017 GB, free: 2.66 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad): time 0.05851/0.5794, allocations: 74.08 MB / 1.089 GB, free: 8.332 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.02449/0.604, allocations: 21.33 MB / 1.11 GB, free: 2.938 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002684/0.6067, allocations: 87.5 kB / 1.11 GB, free: 2.852 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.007337/0.614, allocations: 4.516 MB / 1.115 GB, free: 14.33 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.006334/0.6204, allocations: 2.859 MB / 1.117 GB, free: 11.46 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.004106/0.6245, allocations: 2 MB / 1.119 GB, free: 9.473 MB / 0.8731 GB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1089:9-1089: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.008672/0.6332, allocations: 8.213 MB / 1.127 GB, free: 1.242 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002339/0.6355, allocations: 1.997 MB / 1.129 GB, free: 15.2 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003763/0.6393, allocations: 2.16 MB / 1.131 GB, free: 13.04 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001655/0.641, allocations: 1.637 MB / 1.133 GB, free: 11.39 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.000264/0.6413, allocations: 212 kB / 1.133 GB, free: 11.19 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00327/0.6445, allocations: 2.012 MB / 1.135 GB, free: 9.172 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0006217/0.6452, allocations: 0.7865 MB / 1.136 GB, free: 8.383 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.001196/0.6464, allocations: 1.403 MB / 1.137 GB, free: 6.973 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.004335/0.6507, allocations: 4.409 MB / 1.142 GB, free: 2.551 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.167e-06/0.6507, allocations: 3.984 kB / 1.142 GB, free: 2.547 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.232e-06/0.6507, allocations: 0 / 1.142 GB, free: 2.547 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 2.366e-05/0.6508, allocations: 0 / 1.142 GB, free: 2.547 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.004658/0.6554, allocations: 3.187 MB / 1.145 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.131e-05/0.6555, allocations: 19.97 kB / 1.145 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001998/0.6557, allocations: 185.9 kB / 1.145 GB, free: 15.08 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006131/0.6618, allocations: 1.148 MB / 1.146 GB, free: 13.93 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004201/0.666, allocations: 2.949 MB / 1.149 GB, free: 10.91 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000932/0.667, allocations: 315.9 kB / 1.149 GB, free: 10.59 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001915/0.6672, allocations: 135.9 kB / 1.149 GB, free: 10.46 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004039/0.6712, allocations: 1.943 MB / 1.151 GB, free: 8.445 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.49e-05/0.6713, allocations: 4 kB / 1.151 GB, free: 8.441 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001391/0.6714, allocations: 52 kB / 1.151 GB, free: 8.391 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.065e-05/0.6714, allocations: 28 kB / 1.151 GB, free: 8.363 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005369/0.6768, allocations: 2.098 MB / 1.153 GB, free: 6.258 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.01122/0.688, allocations: 8.442 MB / 1.162 GB, free: 13.36 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004814/0.6929, allocations: 1.676 MB / 1.163 GB, free: 11.67 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002014/0.6949, allocations: 0.752 MB / 1.164 GB, free: 10.91 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004453/0.6994, allocations: 3.882 MB / 1.168 GB, free: 6.727 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.647e-05/0.6994, allocations: 43.06 kB / 1.168 GB, free: 6.676 MB / 0.92 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006874/0.7001, allocations: 182.7 kB / 1.168 GB, free: 6.496 MB / 0.92 GB Notification: Performance of pre-optimization done (n=58): time 2.976e-06/0.7001, allocations: 4 kB / 1.168 GB, free: 6.492 MB / 0.92 GB Notification: Performance of matching and sorting (n=58): time 0.0121/0.7122, allocations: 3.116 MB / 1.171 GB, free: 3.34 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.17e-05/0.7123, allocations: 63.95 kB / 1.171 GB, free: 3.266 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002885/0.7151, allocations: 2.61 MB / 1.174 GB, free: 0.6406 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 9.339e-05/0.7152, allocations: 45.7 kB / 1.174 GB, free: 0.5898 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007559/0.716, allocations: 1.114 MB / 1.175 GB, free: 15.46 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001725/0.7162, allocations: 213 kB / 1.175 GB, free: 15.25 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000455/0.7167, allocations: 338.5 kB / 1.175 GB, free: 14.92 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 7.752e-05/0.7167, allocations: 309 kB / 1.176 GB, free: 14.61 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002255/0.719, allocations: 0.9401 MB / 1.177 GB, free: 13.67 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002546/0.7216, allocations: 1.375 MB / 1.178 GB, free: 12.13 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004282/0.7258, allocations: 2.049 MB / 1.18 GB, free: 9.93 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.534e-06/0.7259, allocations: 0 / 1.18 GB, free: 9.93 MB / 0.9356 GB Notification: Performance of matching and sorting (n=187) (initialization): time 0.006745/0.7326, allocations: 2.794 MB / 1.183 GB, free: 7.121 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.116e-05/0.7326, allocations: 9.406 kB / 1.183 GB, free: 7.113 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.535e-05/0.7327, allocations: 12 kB / 1.183 GB, free: 7.102 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001221/0.7339, allocations: 0.5049 MB / 1.183 GB, free: 6.594 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001575/0.7355, allocations: 387.3 kB / 1.184 GB, free: 6.215 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002112/0.7376, allocations: 1.134 MB / 1.185 GB, free: 5.055 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002241/0.7399, allocations: 272.1 kB / 1.185 GB, free: 4.789 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001398/0.74, allocations: 75.94 kB / 1.185 GB, free: 4.715 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * 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.0007847/0.7408, allocations: 0.549 MB / 1.185 GB, free: 4.156 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003503/0.7412, allocations: 240.8 kB / 1.186 GB, free: 3.918 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006071/0.7472, allocations: 2.115 MB / 1.188 GB, free: 1.797 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.279e-05/0.7473, allocations: 4 kB / 1.188 GB, free: 1.793 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.905e-06/0.7473, allocations: 4 kB / 1.188 GB, free: 1.789 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.877e-06/0.7473, allocations: 3.984 kB / 1.188 GB, free: 1.785 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008434/0.7557, allocations: 4.13 MB / 1.192 GB, free: 13.55 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.065e-06/0.7558, allocations: 4 kB / 1.192 GB, free: 13.54 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001084/0.7568, allocations: 208.1 kB / 1.192 GB, free: 13.34 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001126/0.758, allocations: 0.4925 MB / 1.193 GB, free: 12.84 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.449e-05/0.7581, allocations: 27.97 kB / 1.193 GB, free: 12.82 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002054/0.7601, allocations: 1.103 MB / 1.194 GB, free: 11.69 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.621e-06/0.7602, allocations: 11.88 kB / 1.194 GB, free: 11.68 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00705/0.7672, allocations: 2.216 MB / 1.196 GB, free: 9.402 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009583/0.7682, allocations: 497.6 kB / 1.196 GB, free: 8.895 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005343/0.7687, allocations: 19.98 kB / 1.196 GB, free: 8.875 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002004/0.7707, allocations: 195.8 kB / 1.196 GB, free: 8.684 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001044/0.7709, allocations: 56.36 kB / 1.197 GB, free: 8.629 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001014/0.771, allocations: 43.95 kB / 1.197 GB, free: 8.586 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.002852/0.7738, allocations: 1.804 MB / 1.198 GB, free: 6.781 MB / 0.9512 GB Notification: Performance of sort global known variables: time 2.81e-07/0.7738, allocations: 0 / 1.198 GB, free: 6.781 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.002098/0.7759, allocations: 0.7294 MB / 1.199 GB, free: 6.051 MB / 0.9512 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (63): * Single equations (assignments): 56 * 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.008109/0.7841, allocations: 3.337 MB / 1.202 GB, free: 2.66 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.005674/0.7897, allocations: 2.092 MB / 1.204 GB, free: 0.5664 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.7898, allocations: 0 / 1.204 GB, free: 0.5664 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.002623/0.7924, allocations: 0.8704 MB / 1.205 GB, free: 15.69 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004646/0.797, allocations: 1.169 MB / 1.206 GB, free: 14.55 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04467/0.8417, allocations: 23.03 MB / 1.229 GB, free: 5.941 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001189/0.8429, allocations: 1.637 MB / 1.23 GB, free: 4.273 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.002014/0.845, allocations: 470.2 kB / 1.231 GB, free: 3.816 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001254/0.8462, allocations: 0.9835 MB / 1.232 GB, free: 2.832 MB / 0.9825 GB Notification: Performance of SimCode: time 6.31e-07/0.8463, allocations: 4 kB / 1.232 GB, free: 2.828 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.66/2.506, allocations: 67.99 MB / 1.298 GB, free: 198.7 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002405/2.506, allocations: 296.5 kB / 1.299 GB, free: 198.4 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.472/6.978, allocations: 0 / 1.299 GB, free: 198.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)