Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_Buildings_Fluid_Chillers_Examples_AbsorptionIndirectSteamVaryingLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad,fileNamePrefix="Buildings_latest_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.007245/0.007245, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001846/0.001846, allocations: 202.1 kB / 16.68 MB, free: 5.969 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.398/1.398, allocations: 222.9 MB / 240.4 MB, free: 4.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.653/2.653, allocations: 482.6 MB / 0.755 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001781/0.001781, allocations: 67.89 kB / 1.083 GB, free: 12.2 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2794/0.2812, allocations: 162.3 MB / 1.242 GB, free: 9.801 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad): time 0.5679/0.8491, allocations: 74.84 MB / 1.315 GB, free: 13.62 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.03019/0.8793, allocations: 21.51 MB / 1.336 GB, free: 14.31 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003849/0.8832, allocations: 97 kB / 1.336 GB, free: 14.28 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.006262/0.8895, allocations: 2.172 MB / 1.338 GB, free: 13.23 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.009086/0.8986, allocations: 3.191 MB / 1.341 GB, free: 11.36 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.005914/0.9046, allocations: 2.258 MB / 1.343 GB, free: 10.18 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.01184/0.9164, allocations: 7.878 MB / 1.351 GB, free: 7.012 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003286/0.9197, allocations: 2.005 MB / 1.353 GB, free: 6.059 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005165/0.9249, allocations: 2.342 MB / 1.355 GB, free: 4.945 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002355/0.9273, allocations: 1.566 MB / 1.357 GB, free: 4.031 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0003515/0.9276, allocations: 215.8 kB / 1.357 GB, free: 4.031 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004152/0.9318, allocations: 2.01 MB / 1.359 GB, free: 2.98 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0007518/0.9326, allocations: 0.7798 MB / 1.36 GB, free: 2.422 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.001513/0.9341, allocations: 1.406 MB / 1.361 GB, free: 1.441 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.006258/0.9403, allocations: 4.479 MB / 1.366 GB, free: 14.41 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.798e-06/0.9404, allocations: 0 / 1.366 GB, free: 14.41 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.313e-06/0.9404, allocations: 1.438 kB / 1.366 GB, free: 14.41 MB / 1.076 GB Notification: Performance of Transformations before backend: time 4.136e-05/0.9404, allocations: 0 / 1.366 GB, free: 14.41 MB / 1.076 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.00561/0.946, allocations: 3.305 MB / 1.369 GB, free: 11.94 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.586e-05/0.9461, allocations: 9.875 kB / 1.369 GB, free: 11.94 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002223/0.9463, allocations: 188 kB / 1.369 GB, free: 11.79 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006326/0.9526, allocations: 1.158 MB / 1.37 GB, free: 11.26 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005148/0.9578, allocations: 3.017 MB / 1.373 GB, free: 9.18 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001692/0.958, allocations: 157.9 kB / 1.373 GB, free: 9.082 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001988/0.9582, allocations: 129.3 kB / 1.373 GB, free: 9.043 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004234/0.9624, allocations: 1.923 MB / 1.375 GB, free: 7.879 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.195e-05/0.9625, allocations: 10.02 kB / 1.375 GB, free: 7.871 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001478/0.9626, allocations: 51.69 kB / 1.375 GB, free: 7.832 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.382e-05/0.9627, allocations: 30.41 kB / 1.375 GB, free: 7.832 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005626/0.9683, allocations: 2.055 MB / 1.377 GB, free: 6.855 MB / 1.076 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.01319/0.9815, allocations: 8.638 MB / 1.386 GB, free: 15.66 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004707/0.9862, allocations: 1.629 MB / 1.387 GB, free: 14.88 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002004/0.9882, allocations: 0.7316 MB / 1.388 GB, free: 14.54 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00515/0.9934, allocations: 3.863 MB / 1.392 GB, free: 11.13 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.361e-05/0.9935, allocations: 38.47 kB / 1.392 GB, free: 11.09 MB / 1.092 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000556/0.994, allocations: 118 kB / 1.392 GB, free: 11.01 MB / 1.092 GB Notification: Performance of pre-optimization done (n=57): time 2.244e-06/0.994, allocations: 4 kB / 1.392 GB, free: 11.01 MB / 1.092 GB Notification: Performance of matching and sorting (n=57): time 0.0118/1.006, allocations: 3.077 MB / 1.395 GB, free: 9.379 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.831e-05/1.006, allocations: 55.97 kB / 1.395 GB, free: 9.312 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003454/1.009, allocations: 2.653 MB / 1.398 GB, free: 6.645 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 8.561e-05/1.009, allocations: 37.7 kB / 1.398 GB, free: 6.602 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.000937/1.01, allocations: 1.12 MB / 1.399 GB, free: 5.473 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002047/1.011, allocations: 218.2 kB / 1.399 GB, free: 5.258 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005026/1.011, allocations: 338.6 kB / 1.399 GB, free: 4.918 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001147/1.011, allocations: 309.1 kB / 1.4 GB, free: 4.613 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002328/1.014, allocations: 0.9128 MB / 1.401 GB, free: 3.703 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002712/1.016, allocations: 1.347 MB / 1.402 GB, free: 2.18 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004485/1.021, allocations: 1.998 MB / 1.404 GB, free: 32 kB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.143e-06/1.021, allocations: 7.938 kB / 1.404 GB, free: 24 kB / 1.092 GB Notification: Performance of matching and sorting (n=186) (initialization): time 0.006888/1.028, allocations: 2.745 MB / 1.406 GB, free: 13.27 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.839e-05/1.028, allocations: 8 kB / 1.406 GB, free: 13.26 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.572e-05/1.028, allocations: 12 kB / 1.406 GB, free: 13.25 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001272/1.029, allocations: 0.5125 MB / 1.407 GB, free: 12.73 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001461/1.03, allocations: 375.3 kB / 1.407 GB, free: 12.36 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002182/1.033, allocations: 1.122 MB / 1.408 GB, free: 11.21 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002082/1.035, allocations: 211.8 kB / 1.409 GB, free: 11.01 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001422/1.035, allocations: 75.95 kB / 1.409 GB, free: 10.93 MB / 1.107 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 (146): * Single equations (assignments): 143 * 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.0008524/1.036, allocations: 0.5598 MB / 1.409 GB, free: 10.36 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003682/1.036, allocations: 254.2 kB / 1.41 GB, free: 10.11 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00604/1.042, allocations: 2.106 MB / 1.412 GB, free: 8 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.334e-05/1.042, allocations: 11.94 kB / 1.412 GB, free: 7.988 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/1.042, allocations: 0 / 1.412 GB, free: 7.988 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.396e-06/1.042, allocations: 7.984 kB / 1.412 GB, free: 7.98 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008683/1.051, allocations: 4.095 MB / 1.416 GB, free: 3.777 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.02e-06/1.051, allocations: 0 / 1.416 GB, free: 3.777 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00101/1.052, allocations: 200 kB / 1.416 GB, free: 3.582 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001132/1.053, allocations: 0.4926 MB / 1.416 GB, free: 3.086 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.789e-05/1.053, allocations: 35.95 kB / 1.416 GB, free: 3.051 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002187/1.055, allocations: 1.106 MB / 1.417 GB, free: 1.918 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.5e-06/1.055, allocations: 4 kB / 1.417 GB, free: 1.914 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006486/1.062, allocations: 2.194 MB / 1.42 GB, free: 15.66 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007911/1.063, allocations: 0.4952 MB / 1.42 GB, free: 15.14 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002748/1.063, allocations: 23.94 kB / 1.42 GB, free: 15.12 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001566/1.065, allocations: 163.8 kB / 1.42 GB, free: 14.96 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.666e-05/1.065, allocations: 48.44 kB / 1.42 GB, free: 14.91 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.588e-05/1.065, allocations: 43.95 kB / 1.42 GB, free: 14.87 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.002513/1.067, allocations: 1.831 MB / 1.422 GB, free: 13.04 MB / 1.123 GB Notification: Performance of sort global known variables: time 2.4e-07/1.067, allocations: 0 / 1.422 GB, free: 13.04 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.001861/1.069, allocations: 0.7447 MB / 1.423 GB, free: 12.29 MB / 1.123 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 (62): * Single equations (assignments): 55 * 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.008015/1.077, allocations: 3.342 MB / 1.426 GB, free: 8.898 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.005407/1.083, allocations: 2.002 MB / 1.428 GB, free: 6.898 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/1.083, allocations: 0 / 1.428 GB, free: 6.898 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.002668/1.085, allocations: 0.8551 MB / 1.429 GB, free: 6.039 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004187/1.089, allocations: 1.146 MB / 1.43 GB, free: 4.918 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03478/1.124, allocations: 20 MB / 1.449 GB, free: 356 kB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001259/1.126, allocations: 1.636 MB / 1.451 GB, free: 14.68 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.001581/1.127, allocations: 458.4 kB / 1.452 GB, free: 14.23 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001317/1.128, allocations: 0.9906 MB / 1.452 GB, free: 13.25 MB / 1.154 GB Notification: Performance of SimCode: time 4.6e-07/1.128, allocations: 0 / 1.452 GB, free: 13.25 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.833/2.962, allocations: 66.86 MB / 1.518 GB, free: 11.23 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.12/25.08, allocations: 3.859 kB / 1.518 GB, free: 11.23 MB / 1.217 GB (rm -f Buildings_latest_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad.pipe >> ../files/Buildings_latest_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Chillers_Examples_AbsorptionIndirectSteamVaryingLoad_fmu --startTime=0 --stopTime=86400 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Chillers_Examples_AbsorptionIndirectSteamVaryingLoad.fmu > Buildings_latest_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad.pipe 2>&1)