Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad,fileNamePrefix="Buildings_8_Buildings_Fluid_Chillers_Examples_AbsorptionIndirectSteamVaryingLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad,fileNamePrefix="Buildings_8_Buildings_Fluid_Chillers_Examples_AbsorptionIndirectSteamVaryingLoad",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.792/1.792, allocations: 289.9 MB / 297.4 MB, free: 6.418 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001539/0.001539, allocations: 184.8 kB / 366.7 MB, free: 1.691 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.645/1.645, allocations: 205.2 MB / 0.626 GB, free: 7.18 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001038/0.001038, allocations: 83.78 kB / 0.74 GB, free: 39.56 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.065e-05/2.069e-05, allocations: 4 kB / 0.8598 GB, free: 12.98 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6856/0.6856, allocations: 116.3 MB / 0.9733 GB, free: 76.26 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.133/1.819, allocations: 453.8 MB / 1.417 GB, free: 103.7 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002446/1.819, allocations: 90.14 kB / 1.417 GB, free: 103.6 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.277/6.096, allocations: 1.092 GB / 2.508 GB, free: 141.6 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.704e-06/6.096, allocations: 0 / 2.508 GB, free: 141.6 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0003764/6.097, allocations: 51 kB / 2.508 GB, free: 141.6 MB / 0.948 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.007169/6.104, allocations: 2.186 MB / 2.511 GB, free: 140.5 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.952e-05/6.104, allocations: 8.938 kB / 2.511 GB, free: 140.5 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006458/6.11, allocations: 1.038 MB / 2.512 GB, free: 140.4 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008529/6.119, allocations: 2.611 MB / 2.514 GB, free: 139.8 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006462/6.12, allocations: 173.8 kB / 2.514 GB, free: 139.8 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005765/6.12, allocations: 80.81 kB / 2.514 GB, free: 139.8 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003287/6.123, allocations: 1.434 MB / 2.516 GB, free: 139.8 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003621/6.127, allocations: 1.469 MB / 2.517 GB, free: 139.6 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.302e-05/6.127, allocations: 4.25 kB / 2.517 GB, free: 139.6 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002791/6.127, allocations: 0 / 2.517 GB, free: 139.6 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.673e-05/6.127, allocations: 29.78 kB / 2.517 GB, free: 139.6 MB / 0.948 GB Warning: The model contains alias variables with conflicting start and/or 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.01665/6.144, allocations: 7.891 MB / 2.525 GB, free: 136.1 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002117/6.146, allocations: 1.242 MB / 2.526 GB, free: 136.1 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007974/6.147, allocations: 0.5174 MB / 2.527 GB, free: 136.1 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006608/6.154, allocations: 3.45 MB / 2.53 GB, free: 134.4 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.4e-05/6.154, allocations: 38.44 kB / 2.53 GB, free: 134.4 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001252/6.155, allocations: 197.2 kB / 2.53 GB, free: 134.3 MB / 0.948 GB Notification: Performance of pre-optimization done (n=62): time 4.989e-06/6.155, allocations: 0 / 2.53 GB, free: 134.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=62): time 0.003335/6.158, allocations: 1.33 MB / 2.532 GB, free: 133.8 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.459e-05/6.159, allocations: 59.81 kB / 2.532 GB, free: 133.7 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003039/6.162, allocations: 1.435 MB / 2.533 GB, free: 133.1 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001668/6.162, allocations: 29.2 kB / 2.533 GB, free: 133.1 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008549/6.163, allocations: 0.9747 MB / 2.534 GB, free: 132.3 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002511/6.163, allocations: 210 kB / 2.534 GB, free: 132.1 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.375e-05/6.163, allocations: 0 / 2.534 GB, free: 132.1 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.655e-05/6.163, allocations: 337.8 kB / 2.535 GB, free: 131.8 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007122/6.164, allocations: 491.8 kB / 2.535 GB, free: 131.6 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008788/6.165, allocations: 0.8594 MB / 2.536 GB, free: 130.9 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001896/6.167, allocations: 0.6171 MB / 2.536 GB, free: 130.7 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.682e-05/6.167, allocations: 7.203 kB / 2.536 GB, free: 130.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.004546/6.171, allocations: 1.674 MB / 2.538 GB, free: 130.1 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.00096/6.172, allocations: 3.833 MB / 2.542 GB, free: 126.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.179e-05/6.172, allocations: 8.75 kB / 2.542 GB, free: 126.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009912/6.173, allocations: 0.6349 MB / 2.542 GB, free: 125.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001354/6.175, allocations: 289.2 kB / 2.543 GB, free: 125.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001899/6.176, allocations: 1.237 MB / 2.544 GB, free: 125.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002542/6.179, allocations: 205.5 kB / 2.544 GB, free: 125.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002508/6.179, allocations: 79.62 kB / 2.544 GB, free: 125.1 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.329e-05/6.179, allocations: 7.5 kB / 2.544 GB, free: 125.1 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003139/6.182, allocations: 1.381 MB / 2.546 GB, free: 124.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.72e-05/6.183, allocations: 13.47 kB / 2.546 GB, free: 124.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008562/6.183, allocations: 0.6273 MB / 2.546 GB, free: 124.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001238/6.185, allocations: 293.6 kB / 2.547 GB, free: 124.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001759/6.186, allocations: 1.222 MB / 2.548 GB, free: 123.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002246/6.189, allocations: 190 kB / 2.548 GB, free: 123.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001996/6.189, allocations: 80.94 kB / 2.548 GB, free: 123.7 MB / 0.948 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: chi.Q2_flow:VARIABLE(unit = "W" ) "Heat flow rate into medium 2" type: Real pum.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (97): * Single equations (assignments): 95 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 11} Notification: Performance of prepare postOptimizeDAE: time 0.0004349/6.189, allocations: 136.3 kB / 2.548 GB, free: 123.6 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00305/6.192, allocations: 1.295 MB / 2.549 GB, free: 123.1 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005805/6.193, allocations: 184.7 kB / 2.55 GB, free: 123 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004193/6.197, allocations: 1.63 MB / 2.551 GB, free: 122.4 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.714e-05/6.197, allocations: 15.06 kB / 2.551 GB, free: 122.4 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.743e-06/6.197, allocations: 0 / 2.551 GB, free: 122.4 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.566e-06/6.197, allocations: 3.609 kB / 2.551 GB, free: 122.4 MB / 0.948 GB Warning: The model contains alias variables with conflicting start and/or 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.006517/6.204, allocations: 3.145 MB / 2.554 GB, free: 121 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.686e-06/6.204, allocations: 3.875 kB / 2.554 GB, free: 121 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009733/6.205, allocations: 187.4 kB / 2.554 GB, free: 121 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008174/6.206, allocations: 0.613 MB / 2.555 GB, free: 120.9 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.164e-05/6.206, allocations: 19.33 kB / 2.555 GB, free: 120.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001693/6.207, allocations: 1.21 MB / 2.556 GB, free: 120.1 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.939e-06/6.207, allocations: 0 / 2.556 GB, free: 120.1 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003659/6.211, allocations: 1.678 MB / 2.558 GB, free: 119.2 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001155/6.212, allocations: 444.1 kB / 2.558 GB, free: 118.9 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000563/6.213, allocations: 3.969 kB / 2.558 GB, free: 118.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001917/6.215, allocations: 174.3 kB / 2.558 GB, free: 118.9 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001011/6.215, allocations: 46.62 kB / 2.558 GB, free: 118.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001275/6.215, allocations: 65.19 kB / 2.559 GB, free: 118.9 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.002368/6.217, allocations: 1.098 MB / 2.56 GB, free: 118.4 MB / 0.948 GB Notification: Performance of sort global known variables: time 2.61e-07/6.217, allocations: 0 / 2.56 GB, free: 118.4 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.004608/6.222, allocations: 1.06 MB / 2.561 GB, free: 118.2 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (57): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.006473/6.229, allocations: 3.542 MB / 2.564 GB, free: 116.4 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.00421/6.233, allocations: 1.976 MB / 2.566 GB, free: 115.8 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 7.003e-06/6.233, allocations: 3.562 kB / 2.566 GB, free: 115.8 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001331/6.234, allocations: 0.6325 MB / 2.567 GB, free: 115.6 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003908/6.238, allocations: 0.7032 MB / 2.567 GB, free: 115.4 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0083/6.246, allocations: 2.921 MB / 2.57 GB, free: 114.2 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001492/6.248, allocations: 1.499 MB / 2.572 GB, free: 113.5 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.003695/6.252, allocations: 0.6347 MB / 2.572 GB, free: 113.3 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001178/6.253, allocations: 0.7612 MB / 2.573 GB, free: 112.7 MB / 0.948 GB Notification: Performance of SimCode: time 1.252e-06/6.253, allocations: 0 / 2.573 GB, free: 112.7 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1023/6.355, allocations: 57.46 MB / 2.629 GB, free: 71.02 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002017/6.355, allocations: 192.8 kB / 2.629 GB, free: 70.82 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.071/10.43, allocations: 0 / 2.629 GB, free: 70.82 MB / 0.948 GB (rm -f Buildings_8_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad.pipe ; mkfifo Buildings_8_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad.pipe >> ../files/Buildings_8_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Chillers_Examples_AbsorptionIndirectSteamVaryingLoad_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Chillers_Examples_AbsorptionIndirectSteamVaryingLoad.fmu > Buildings_8_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad.pipe 2>&1)