Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 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.AbsorptionIndirectSteam,fileNamePrefix="Buildings_8_Buildings_Fluid_Chillers_Examples_AbsorptionIndirectSteam",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam,fileNamePrefix="Buildings_8_Buildings_Fluid_Chillers_Examples_AbsorptionIndirectSteam",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.001174/0.001174, allocations: 105.4 kB / 15.7 MB, free: 28 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001437/0.001437, allocations: 195.3 kB / 16.64 MB, free: 6.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.396/1.396, allocations: 205.1 MB / 222.5 MB, free: 4.555 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.732/1.732, allocations: 292.3 MB / 0.549 GB, free: 12.75 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001531/0.001531, allocations: 74.78 kB / 0.6718 GB, free: 26.2 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2158/0.2174, allocations: 114.5 MB / 0.7836 GB, free: 13.29 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam): time 0.05609/0.2735, allocations: 53.45 MB / 0.8358 GB, free: 7.641 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01714/0.2907, allocations: 11.41 MB / 0.847 GB, free: 12.2 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002465/0.2932, allocations: 59.62 kB / 0.847 GB, free: 12.14 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.002205/0.2955, allocations: 0.7528 MB / 0.8478 GB, free: 11.39 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.006532/0.302, allocations: 2.145 MB / 0.8498 GB, free: 9.234 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.003874/0.3059, allocations: 1.387 MB / 0.8512 GB, free: 7.859 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.005502/0.3114, allocations: 3.894 MB / 0.855 GB, free: 3.957 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001999/0.3134, allocations: 1.287 MB / 0.8563 GB, free: 2.641 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003318/0.3168, allocations: 1.414 MB / 0.8576 GB, free: 1.227 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001703/0.3185, allocations: 1.081 MB / 0.8587 GB, free: 144 kB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0002636/0.3188, allocations: 140 kB / 0.8588 GB, free: 4 kB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002721/0.3215, allocations: 1.045 MB / 0.8599 GB, free: 14.96 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0004582/0.322, allocations: 430.6 kB / 0.8603 GB, free: 14.54 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.001155/0.3231, allocations: 0.8551 MB / 0.8611 GB, free: 13.68 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.003794/0.3269, allocations: 2.59 MB / 0.8636 GB, free: 11.08 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 7.534e-06/0.327, allocations: 4 kB / 0.8636 GB, free: 11.07 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.234e-06/0.327, allocations: 4 kB / 0.8636 GB, free: 11.07 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 3.197e-05/0.327, allocations: 0 / 0.8636 GB, free: 11.07 MB / 0.6856 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 228 * Number of variables: 228 Notification: Performance of Generate backend data structure: time 0.003698/0.3307, allocations: 2.006 MB / 0.8656 GB, free: 9.008 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 5.309e-05/0.3308, allocations: 12.03 kB / 0.8656 GB, free: 8.996 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001697/0.331, allocations: 143.8 kB / 0.8657 GB, free: 8.848 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003298/0.3343, allocations: 0.5686 MB / 0.8663 GB, free: 8.277 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002807/0.3371, allocations: 1.387 MB / 0.8677 GB, free: 6.836 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001511/0.3373, allocations: 119.7 kB / 0.8678 GB, free: 6.711 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001674/0.3375, allocations: 96 kB / 0.8679 GB, free: 6.617 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003179/0.3406, allocations: 1.354 MB / 0.8692 GB, free: 5.23 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.575e-05/0.3407, allocations: 0 / 0.8692 GB, free: 5.23 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001036/0.3408, allocations: 36 kB / 0.8692 GB, free: 5.195 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.949e-05/0.3408, allocations: 28 kB / 0.8692 GB, free: 5.168 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003731/0.3446, allocations: 1.429 MB / 0.8706 GB, free: 3.738 MB / 0.6856 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.009013/0.3536, allocations: 5.35 MB / 0.8759 GB, free: 14.14 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002999/0.3566, allocations: 1.074 MB / 0.8769 GB, free: 13.05 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001543/0.3582, allocations: 0.5982 MB / 0.8775 GB, free: 12.46 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009005/0.3591, allocations: 1.077 MB / 0.8785 GB, free: 11.14 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001869/0.361, allocations: 0.6743 MB / 0.8792 GB, free: 10.45 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=60): time 3.166e-06/0.361, allocations: 0 / 0.8792 GB, free: 10.45 MB / 0.7012 GB Notification: Performance of matching and sorting (n=60): time 0.005175/0.3662, allocations: 1.75 MB / 0.8809 GB, free: 8.695 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.49e-05/0.3663, allocations: 59.97 kB / 0.881 GB, free: 8.621 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001985/0.3683, allocations: 1.412 MB / 0.8824 GB, free: 7.199 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0001201/0.3684, allocations: 37.7 kB / 0.8824 GB, free: 7.156 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005508/0.369, allocations: 0.6423 MB / 0.883 GB, free: 6.504 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002195/0.3692, allocations: 205 kB / 0.8832 GB, free: 6.301 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002817/0.3695, allocations: 166.4 kB / 0.8834 GB, free: 6.133 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001367/0.3696, allocations: 334 kB / 0.8837 GB, free: 5.801 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001517/0.3712, allocations: 0.5523 MB / 0.8842 GB, free: 5.25 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001758/0.3729, allocations: 0.7683 MB / 0.885 GB, free: 4.402 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003127/0.3761, allocations: 1.193 MB / 0.8861 GB, free: 3.145 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.993e-06/0.3761, allocations: 0 / 0.8861 GB, free: 3.145 MB / 0.7012 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.004092/0.3802, allocations: 1.444 MB / 0.8876 GB, free: 1.691 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.554e-05/0.3803, allocations: 8 kB / 0.8876 GB, free: 1.684 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.14e-05/0.3803, allocations: 7.938 kB / 0.8876 GB, free: 1.676 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.425e-05/0.3803, allocations: 8 kB / 0.8876 GB, free: 1.668 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001214/0.3815, allocations: 244 kB / 0.8878 GB, free: 1.43 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.977e-05/0.3816, allocations: 15.92 kB / 0.8878 GB, free: 1.414 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001558/0.3831, allocations: 198.8 kB / 0.888 GB, free: 1.219 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.707e-05/0.3832, allocations: 43.95 kB / 0.8881 GB, free: 1.176 MB / 0.7012 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,onOff.pulseStart,$PRE.onOff.pulseStart,onOff.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (92): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006547/0.3839, allocations: 353.5 kB / 0.8884 GB, free: 0.8203 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002792/0.3842, allocations: 150.2 kB / 0.8885 GB, free: 0.6719 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003748/0.3879, allocations: 1.399 MB / 0.8899 GB, free: 15.26 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-05/0.388, allocations: 11.98 kB / 0.8899 GB, free: 15.25 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.174e-06/0.388, allocations: 0 / 0.8899 GB, free: 15.25 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003368/0.3914, allocations: 1.263 MB / 0.8911 GB, free: 13.96 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00622/0.3976, allocations: 2.949 MB / 0.894 GB, free: 10.91 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.574e-06/0.3976, allocations: 4 kB / 0.894 GB, free: 10.91 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001116/0.3988, allocations: 207.9 kB / 0.8942 GB, free: 10.71 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.066e-05/0.3988, allocations: 8 kB / 0.8942 GB, free: 10.7 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.829e-05/0.3989, allocations: 27.97 kB / 0.8943 GB, free: 10.67 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.148e-06/0.3989, allocations: 8 kB / 0.8943 GB, free: 10.66 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.372e-06/0.3989, allocations: 7.875 kB / 0.8943 GB, free: 10.66 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005572/0.4045, allocations: 2.219 MB / 0.8964 GB, free: 8.391 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007337/0.4052, allocations: 351 kB / 0.8968 GB, free: 8.027 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002022/0.4054, allocations: 19.98 kB / 0.8968 GB, free: 8.008 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001182/0.4066, allocations: 115.8 kB / 0.8969 GB, free: 7.895 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001228/0.4068, allocations: 68.3 kB / 0.897 GB, free: 7.828 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.469e-05/0.4069, allocations: 31.97 kB / 0.897 GB, free: 7.797 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001374/0.4082, allocations: 0.9905 MB / 0.898 GB, free: 6.809 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.51e-07/0.4083, allocations: 0 / 0.898 GB, free: 6.809 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001242/0.4095, allocations: 459.4 kB / 0.8984 GB, free: 6.359 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 2 (absIndSte.vol1.dynBal.U,absIndSte.vol2.dynBal.U) * Number of discrete variables: 3 ($whenCondition1,onOff.y,onOff.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (65): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006506/0.416, allocations: 3.12 MB / 0.9015 GB, free: 3.195 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.003596/0.4196, allocations: 1.277 MB / 0.9027 GB, free: 1.918 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 7.083e-06/0.4197, allocations: 4 kB / 0.9027 GB, free: 1.914 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001845/0.4215, allocations: 0.6519 MB / 0.9033 GB, free: 1.262 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003622/0.4252, allocations: 0.7687 MB / 0.9041 GB, free: 0.5156 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02233/0.4475, allocations: 12.28 MB / 0.9161 GB, free: 3.934 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008212/0.4484, allocations: 1.221 MB / 0.9173 GB, free: 2.68 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001269/0.4497, allocations: 303.3 kB / 0.9176 GB, free: 2.379 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007905/0.4505, allocations: 0.5617 MB / 0.9181 GB, free: 1.816 MB / 0.7325 GB Notification: Performance of SimCode: time 6.81e-07/0.4505, allocations: 0 / 0.9181 GB, free: 1.816 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4566/0.9071, allocations: 42.25 MB / 0.9594 GB, free: 120.8 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.64/11.54, allocations: 14.23 kB / 0.9594 GB, free: 120.8 MB / 0.7325 GB (rm -f Buildings_8_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe ; mkfifo Buildings_8_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe >> ../files/Buildings_8_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Chillers_Examples_AbsorptionIndirectSteam_fmu --startTime=0 --stopTime=14400 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Chillers_Examples_AbsorptionIndirectSteam.fmu > Buildings_8_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe 2>&1)