Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_Buildings_Fluid_Chillers_Examples_AbsorptionIndirectSteamVaryingLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad,fileNamePrefix="Buildings_9_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.0009294/0.0009294, allocations: 98.11 kB / 15.36 MB, free: 0.7344 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.005717/0.005717, allocations: 172.9 kB / 16.27 MB, free: 6.652 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.279/1.279, 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 9.1.2-maint.9.1.x/package.mo): time 2.217/2.217, allocations: 390.9 MB / 0.6664 GB, free: 2.375 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003917/0.0003918, allocations: 12 kB / 0.8161 GB, free: 13.14 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.013/1.014, allocations: 142.4 MB / 0.9552 GB, free: 7.582 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad): time 0.09058/1.104, allocations: 72.51 MB / 1.026 GB, free: 6.586 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.03754/1.142, allocations: 19.57 MB / 1.045 GB, free: 2.977 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007815/1.15, allocations: 83.5 kB / 1.045 GB, free: 2.895 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.006402/1.156, allocations: 1.15 MB / 1.046 GB, free: 1.738 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.01548/1.172, allocations: 2.775 MB / 1.049 GB, free: 14.95 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.009303/1.181, allocations: 1.925 MB / 1.051 GB, free: 13.05 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.01461/1.196, allocations: 6.675 MB / 1.057 GB, free: 6.352 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005944/1.202, allocations: 1.637 MB / 1.059 GB, free: 4.664 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007894/1.21, allocations: 1.816 MB / 1.061 GB, free: 2.84 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00525/1.215, allocations: 1.462 MB / 1.062 GB, free: 1.371 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.001291/1.216, allocations: 88 kB / 1.062 GB, free: 1.285 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008217/1.225, allocations: 1.688 MB / 1.064 GB, free: 15.59 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.00198/1.227, allocations: 0.5173 MB / 1.064 GB, free: 15.07 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.004876/1.232, allocations: 1.105 MB / 1.066 GB, free: 13.96 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.01123/1.243, allocations: 3.668 MB / 1.069 GB, free: 10.28 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 9.448e-06/1.243, allocations: 0 / 1.069 GB, free: 10.28 MB / 0.8262 GB Notification: Performance of FrontEnd: time 5.009e-06/1.243, allocations: 0 / 1.069 GB, free: 10.28 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 8.075e-05/1.243, allocations: 0 / 1.069 GB, free: 10.28 MB / 0.8262 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.007311/1.25, allocations: 2.359 MB / 1.071 GB, free: 7.855 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 8.411e-05/1.25, allocations: 8.031 kB / 1.071 GB, free: 7.848 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004617/1.251, allocations: 194 kB / 1.072 GB, free: 7.648 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00716/1.258, allocations: 1.219 MB / 1.073 GB, free: 6.426 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005404/1.264, allocations: 1.965 MB / 1.075 GB, free: 4.387 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001226/1.265, allocations: 343.9 kB / 1.075 GB, free: 4.043 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004392/1.265, allocations: 132 kB / 1.075 GB, free: 3.914 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006565/1.272, allocations: 1.988 MB / 1.077 GB, free: 1.859 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.114e-05/1.272, allocations: 0 / 1.077 GB, free: 1.859 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002257/1.272, allocations: 52 kB / 1.077 GB, free: 1.809 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.093e-05/1.272, allocations: 31.94 kB / 1.077 GB, free: 1.777 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00729/1.28, allocations: 2.195 MB / 1.079 GB, free: 15.57 MB / 0.8419 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.02151/1.301, allocations: 8.175 MB / 1.087 GB, free: 6.934 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006293/1.307, allocations: 1.807 MB / 1.089 GB, free: 5.121 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0026/1.31, allocations: 0.8027 MB / 1.09 GB, free: 4.316 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009397/1.319, allocations: 3.844 MB / 1.094 GB, free: 168 kB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.765e-05/1.32, allocations: 47.11 kB / 1.094 GB, free: 112 kB / 0.8419 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00184/1.321, allocations: 210.8 kB / 1.094 GB, free: 15.9 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=63): time 1.367e-05/1.322, allocations: 0 / 1.094 GB, free: 15.9 MB / 0.8575 GB Notification: Performance of matching and sorting (n=63): time 0.01509/1.337, allocations: 3.363 MB / 1.097 GB, free: 12.51 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.02e-05/1.337, allocations: 59.97 kB / 1.097 GB, free: 12.44 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006203/1.343, allocations: 2.038 MB / 1.099 GB, free: 10.37 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 0.0002236/1.343, allocations: 41.69 kB / 1.099 GB, free: 10.32 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.001432/1.345, allocations: 0.961 MB / 1.1 GB, free: 9.352 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004079/1.345, allocations: 224.8 kB / 1.1 GB, free: 9.129 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002643/1.345, allocations: 85.67 kB / 1.1 GB, free: 9.039 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0002872/1.346, allocations: 341.9 kB / 1.101 GB, free: 8.699 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002847/1.349, allocations: 0.8256 MB / 1.102 GB, free: 7.871 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0032/1.352, allocations: 1.166 MB / 1.103 GB, free: 6.555 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005552/1.357, allocations: 1.804 MB / 1.104 GB, free: 4.617 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.281e-05/1.357, allocations: 4 kB / 1.104 GB, free: 4.613 MB / 0.8575 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.009715/1.367, allocations: 2.533 MB / 1.107 GB, free: 2.066 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004529/1.368, allocations: 372.6 kB / 1.107 GB, free: 1.57 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.435e-05/1.368, allocations: 8 kB / 1.107 GB, free: 1.562 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001522/1.369, allocations: 0.5161 MB / 1.108 GB, free: 1.043 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001662/1.371, allocations: 351.5 kB / 1.108 GB, free: 0.6992 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002647/1.373, allocations: 1.161 MB / 1.109 GB, free: 15.51 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003135/1.377, allocations: 288.3 kB / 1.11 GB, free: 15.23 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002256/1.377, allocations: 63.95 kB / 1.11 GB, free: 15.17 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/1.377, allocations: 4 kB / 1.11 GB, free: 15.16 MB / 0.8731 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00805/1.385, allocations: 2.272 MB / 1.112 GB, free: 12.89 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.535e-05/1.385, allocations: 8 kB / 1.112 GB, free: 12.88 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001369/1.386, allocations: 0.5244 MB / 1.112 GB, free: 12.35 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001513/1.388, allocations: 339.5 kB / 1.113 GB, free: 12.02 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002591/1.391, allocations: 1.169 MB / 1.114 GB, free: 10.82 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002972/1.394, allocations: 266.2 kB / 1.114 GB, free: 10.57 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002062/1.394, allocations: 63.95 kB / 1.114 GB, free: 10.5 MB / 0.8731 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 (113): * Single equations (assignments): 111 * 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.001602/1.395, allocations: 0.5201 MB / 1.115 GB, free: 9.973 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008324/1.396, allocations: 197.5 kB / 1.115 GB, free: 9.777 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007934/1.404, allocations: 2.228 MB / 1.117 GB, free: 7.539 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.429e-05/1.404, allocations: 16 kB / 1.117 GB, free: 7.523 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.293e-05/1.404, allocations: 0 / 1.117 GB, free: 7.523 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.527e-05/1.404, allocations: 11.92 kB / 1.117 GB, free: 7.512 MB / 0.8731 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.01168/1.416, allocations: 3.939 MB / 1.121 GB, free: 3.484 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.026e-05/1.416, allocations: 0 / 1.121 GB, free: 3.484 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001252/1.417, allocations: 235.8 kB / 1.121 GB, free: 3.254 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001333/1.419, allocations: 0.5043 MB / 1.122 GB, free: 2.746 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001116/1.419, allocations: 31.95 kB / 1.122 GB, free: 2.715 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002689/1.421, allocations: 1.157 MB / 1.123 GB, free: 1.531 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.252e-06/1.421, allocations: 3.938 kB / 1.123 GB, free: 1.527 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008295/1.43, allocations: 2.302 MB / 1.125 GB, free: 15.18 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001791/1.432, allocations: 458.1 kB / 1.125 GB, free: 14.71 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008302/1.432, allocations: 12 kB / 1.125 GB, free: 14.7 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002628/1.435, allocations: 231.7 kB / 1.126 GB, free: 14.47 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000166/1.435, allocations: 52.44 kB / 1.126 GB, free: 14.42 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001404/1.435, allocations: 39.94 kB / 1.126 GB, free: 14.38 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.004216/1.44, allocations: 1.423 MB / 1.127 GB, free: 12.95 MB / 0.8887 GB Notification: Performance of sort global known variables: time 3.4e-07/1.44, allocations: 0 / 1.127 GB, free: 12.95 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.005357/1.445, allocations: 0.9903 MB / 1.128 GB, free: 11.95 MB / 0.8887 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.0101/1.455, allocations: 3.289 MB / 1.131 GB, free: 8.621 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.0104/1.465, allocations: 2.999 MB / 1.134 GB, free: 5.625 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 1.047e-05/1.466, allocations: 4 kB / 1.134 GB, free: 5.621 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.003262/1.469, allocations: 0.9482 MB / 1.135 GB, free: 4.672 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007441/1.476, allocations: 0.9288 MB / 1.136 GB, free: 3.754 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05389/1.53, allocations: 19.94 MB / 1.156 GB, free: 14.57 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00176/1.532, allocations: 1.465 MB / 1.157 GB, free: 13.07 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.002889/1.535, allocations: 478.8 kB / 1.157 GB, free: 12.61 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001293/1.536, allocations: 0.8077 MB / 1.158 GB, free: 11.8 MB / 0.92 GB Notification: Performance of SimCode: time 1.293e-06/1.536, allocations: 0 / 1.158 GB, free: 11.8 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.132/4.668, allocations: 58.16 MB / 1.215 GB, free: 2.324 MB / 0.9669 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002227/4.669, allocations: 287.8 kB / 1.215 GB, free: 1.949 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.033/8.702, allocations: 3.938 kB / 1.215 GB, free: 1.945 MB / 0.9669 GB (rm -f Buildings_9_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad.pipe ; mkfifo Buildings_9_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad.pipe >> ../files/Buildings_9_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Chillers_Examples_AbsorptionIndirectSteamVaryingLoad_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Chillers_Examples_AbsorptionIndirectSteamVaryingLoad.fmu > Buildings_9_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad.pipe 2>&1)