Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad") translateModel(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.366/1.366, allocations: 252 MB / 268 MB, free: 10.86 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009648/0.0009647, allocations: 183.5 kB / 327.6 MB, free: 2.098 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.496/1.496, allocations: 205.4 MB / 0.5786 GB, free: 20.2 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007152/0.0007152, allocations: 91.75 kB / 0.6832 GB, free: 12.78 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002965/0.0002965, allocations: 12.05 kB / 0.7976 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1601/0.1605, allocations: 106.3 MB / 0.9014 GB, free: 63.54 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad): time 0.04918/0.2097, allocations: 72.62 MB / 0.9724 GB, free: 6.66 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.02918/0.2389, allocations: 22.4 MB / 0.9942 GB, free: 216 kB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002896/0.2418, allocations: 79.44 kB / 0.9943 GB, free: 136 kB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.003168/0.245, allocations: 1.135 MB / 0.9954 GB, free: 14.99 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.007051/0.2521, allocations: 2.766 MB / 0.9981 GB, free: 12.22 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.00483/0.2569, allocations: 1.955 MB / 1 GB, free: 10.28 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.007533/0.2645, allocations: 6.63 MB / 1.007 GB, free: 3.629 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002708/0.2672, allocations: 1.644 MB / 1.008 GB, free: 1.941 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003481/0.2707, allocations: 1.781 MB / 1.01 GB, free: 156 kB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002341/0.2731, allocations: 1.497 MB / 1.011 GB, free: 14.65 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.0003931/0.2735, allocations: 84 kB / 1.011 GB, free: 14.57 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003583/0.2771, allocations: 1.594 MB / 1.013 GB, free: 12.97 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.0006002/0.2777, allocations: 0.5173 MB / 1.013 GB, free: 12.45 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.001252/0.2789, allocations: 1.097 MB / 1.015 GB, free: 11.34 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.003072/0.282, allocations: 2.825 MB / 1.017 GB, free: 8.508 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.282, allocations: 0 / 1.017 GB, free: 8.508 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.613e-06/0.2821, allocations: 4 kB / 1.017 GB, free: 8.504 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 3.071e-05/0.2821, allocations: 0 / 1.017 GB, free: 8.504 MB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 313 * Number of variables: 313 Notification: Performance of Generate backend data structure: time 0.004117/0.2862, allocations: 2.344 MB / 1.02 GB, free: 6.098 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 3.723e-05/0.2863, allocations: 12.03 kB / 1.02 GB, free: 6.086 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005735/0.292, allocations: 1.13 MB / 1.021 GB, free: 4.953 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003679/0.2957, allocations: 1.925 MB / 1.023 GB, free: 2.953 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009967/0.2967, allocations: 347.9 kB / 1.023 GB, free: 2.605 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001958/0.2969, allocations: 128 kB / 1.023 GB, free: 2.48 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004341/0.3013, allocations: 1.98 MB / 1.025 GB, free: 444 kB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.157e-05/0.3013, allocations: 0 / 1.025 GB, free: 444 kB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001427/0.3015, allocations: 56 kB / 1.025 GB, free: 388 kB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.162e-05/0.3015, allocations: 28 kB / 1.025 GB, free: 360 kB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005793/0.3073, allocations: 2.187 MB / 1.027 GB, free: 14.15 MB / 0.6823 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.01229/0.3196, allocations: 8.163 MB / 1.035 GB, free: 5.531 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005274/0.3249, allocations: 1.84 MB / 1.037 GB, free: 3.68 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002211/0.3271, allocations: 0.8262 MB / 1.038 GB, free: 2.852 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005206/0.3323, allocations: 3.883 MB / 1.042 GB, free: 14.66 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.494e-05/0.3324, allocations: 39.12 kB / 1.042 GB, free: 14.61 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007292/0.3331, allocations: 206.8 kB / 1.042 GB, free: 14.41 MB / 0.698 GB Notification: Performance of pre-optimization done (n=63): time 2.344e-06/0.3331, allocations: 0 / 1.042 GB, free: 14.41 MB / 0.698 GB Notification: Performance of matching and sorting (n=63): time 0.01274/0.3459, allocations: 3.422 MB / 1.045 GB, free: 10.96 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.648e-05/0.3459, allocations: 59.97 kB / 1.045 GB, free: 10.89 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0027/0.3487, allocations: 2.042 MB / 1.047 GB, free: 8.816 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001063/0.3488, allocations: 37.7 kB / 1.047 GB, free: 8.773 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007333/0.3495, allocations: 0.9609 MB / 1.048 GB, free: 7.801 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001961/0.3497, allocations: 220.8 kB / 1.048 GB, free: 7.582 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.911e-05/0.3498, allocations: 16 kB / 1.048 GB, free: 7.566 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001236/0.3499, allocations: 345.9 kB / 1.049 GB, free: 7.223 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002358/0.3523, allocations: 0.8295 MB / 1.05 GB, free: 6.391 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002594/0.3549, allocations: 1.184 MB / 1.051 GB, free: 5.051 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00463/0.3595, allocations: 1.831 MB / 1.052 GB, free: 3.094 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.172e-06/0.3596, allocations: 0 / 1.052 GB, free: 3.094 MB / 0.698 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.007703/0.3673, allocations: 2.545 MB / 1.055 GB, free: 0.5352 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002256/0.3675, allocations: 372.4 kB / 1.055 GB, free: 36 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.41e-05/0.3675, allocations: 12 kB / 1.055 GB, free: 24 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.3223/0.6899, allocations: 0.5151 MB / 1.056 GB, free: 146.5 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001666/0.6916, allocations: 351.9 kB / 1.056 GB, free: 146.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002065/0.6937, allocations: 1.155 MB / 1.057 GB, free: 146 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002436/0.6961, allocations: 296.3 kB / 1.058 GB, free: 146 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001605/0.6963, allocations: 63 kB / 1.058 GB, free: 146 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.217e-05/0.6963, allocations: 4.188 kB / 1.058 GB, free: 146 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006892/0.7032, allocations: 2.255 MB / 1.06 GB, free: 146 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.424e-05/0.7033, allocations: 11.34 kB / 1.06 GB, free: 146 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001185/0.7045, allocations: 0.5174 MB / 1.06 GB, free: 146 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001543/0.706, allocations: 338.7 kB / 1.061 GB, free: 145.9 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002153/0.7082, allocations: 1.161 MB / 1.062 GB, free: 145.4 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002377/0.7106, allocations: 270 kB / 1.062 GB, free: 145.4 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001523/0.7107, allocations: 61.53 kB / 1.062 GB, free: 145.4 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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 (110): * Single equations (assignments): 108 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * 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.0008983/0.7117, allocations: 0.5101 MB / 1.063 GB, free: 145.2 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003188/0.712, allocations: 203.8 kB / 1.063 GB, free: 145.2 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007469/0.7195, allocations: 2.273 MB / 1.065 GB, free: 145.1 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.496e-05/0.7195, allocations: 12.45 kB / 1.065 GB, free: 145.1 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.285e-06/0.7195, allocations: 0 / 1.065 GB, free: 145.1 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.071e-05/0.7195, allocations: 3.797 kB / 1.065 GB, free: 145.1 MB / 0.698 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.009677/0.7292, allocations: 3.973 MB / 1.069 GB, free: 144.7 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-05/0.7293, allocations: 6.562 kB / 1.069 GB, free: 144.7 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001287/0.7306, allocations: 239.3 kB / 1.069 GB, free: 144.7 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001246/0.7318, allocations: 0.5091 MB / 1.07 GB, free: 144.7 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001022/0.7319, allocations: 28.31 kB / 1.07 GB, free: 144.7 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002282/0.7342, allocations: 1.158 MB / 1.071 GB, free: 144.1 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.839e-06/0.7343, allocations: 6.734 kB / 1.071 GB, free: 144.1 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007397/0.7417, allocations: 2.339 MB / 1.073 GB, free: 143.8 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001007/0.7427, allocations: 456.3 kB / 1.074 GB, free: 143.6 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002708/0.743, allocations: 19.41 kB / 1.074 GB, free: 143.6 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001833/0.7448, allocations: 233.9 kB / 1.074 GB, free: 143.6 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001182/0.7449, allocations: 49.47 kB / 1.074 GB, free: 143.6 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001089/0.7451, allocations: 40.03 kB / 1.074 GB, free: 143.6 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.002344/0.7474, allocations: 1.424 MB / 1.075 GB, free: 143.5 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.91e-07/0.7474, allocations: 4 kB / 1.075 GB, free: 143.5 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002716/0.7502, allocations: 0.9542 MB / 1.076 GB, free: 143.4 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (64): * Single equations (assignments): 57 * 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.001024/0.7512, allocations: 0.5311 MB / 1.077 GB, free: 143.3 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.009257/0.7605, allocations: 3.006 MB / 1.08 GB, free: 143.1 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 8.486e-06/0.7605, allocations: 0.9375 kB / 1.08 GB, free: 143.1 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.003467/0.764, allocations: 0.9718 MB / 1.081 GB, free: 143 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004959/0.769, allocations: 0.9296 MB / 1.082 GB, free: 142.7 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006568/0.7756, allocations: 4.451 MB / 1.086 GB, free: 139.9 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006794/0.7763, allocations: 1.455 MB / 1.087 GB, free: 138.8 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006764/0.777, allocations: 168.5 kB / 1.087 GB, free: 138.8 MB / 0.698 GB Notification: Performance of SimCode: time 7.71e-07/0.777, allocations: 4 kB / 1.087 GB, free: 138.8 MB / 0.698 GB Notification: Performance of Templates: time 0.04239/0.8194, allocations: 43.7 MB / 1.13 GB, free: 96.15 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad.pipe 2>&1)