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.0007238/0.0007238, allocations: 90.83 kB / 15.36 MB, free: 0.7383 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.004233/0.004233, allocations: 171.7 kB / 16.26 MB, free: 6.613 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.295/1.295, allocations: 205.4 MB / 222.4 MB, free: 5.57 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.587/1.587, allocations: 292.7 MB / 0.5502 GB, free: 14.44 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.000568/0.0005681, allocations: 16.81 kB / 0.6744 GB, free: 25.81 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1735/0.1741, allocations: 116.3 MB / 0.788 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam): time 0.04503/0.2192, allocations: 52.11 MB / 0.8389 GB, free: 7.188 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01334/0.2326, allocations: 11.34 MB / 0.85 GB, free: 11.82 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001035/0.2336, allocations: 51.62 kB / 0.85 GB, free: 11.77 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.00138/0.235, allocations: 0.6254 MB / 0.8506 GB, free: 11.14 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.003703/0.2387, allocations: 1.971 MB / 0.8525 GB, free: 9.16 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.002405/0.2411, allocations: 1.255 MB / 0.8538 GB, free: 7.918 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.004239/0.2454, allocations: 5.025 MB / 0.8587 GB, free: 2.887 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001192/0.2466, allocations: 1.065 MB / 0.8597 GB, free: 1.785 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001429/0.248, allocations: 1.163 MB / 0.8608 GB, free: 0.6172 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000998/0.249, allocations: 1.038 MB / 0.8619 GB, free: 15.57 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0001212/0.2492, allocations: 56 kB / 0.8619 GB, free: 15.52 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00154/0.2507, allocations: 0.9353 MB / 0.8628 GB, free: 14.58 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0003038/0.251, allocations: 354.6 kB / 0.8632 GB, free: 14.23 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0006338/0.2517, allocations: 0.7826 MB / 0.8639 GB, free: 13.44 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.002093/0.2538, allocations: 2.449 MB / 0.8663 GB, free: 10.98 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.2538, allocations: 0 / 0.8663 GB, free: 10.98 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.162e-06/0.2538, allocations: 0 / 0.8663 GB, free: 10.98 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 1.209e-05/0.2538, allocations: 0 / 0.8663 GB, free: 10.98 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.002647/0.2565, allocations: 1.723 MB / 0.868 GB, free: 9.211 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.439e-05/0.2565, allocations: 11.97 kB / 0.868 GB, free: 9.199 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001656/0.2567, allocations: 147.8 kB / 0.8682 GB, free: 9.047 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003211/0.2599, allocations: 0.6233 MB / 0.8688 GB, free: 8.422 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001754/0.2616, allocations: 1.344 MB / 0.8701 GB, free: 7.023 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001139/0.2618, allocations: 119.7 kB / 0.8702 GB, free: 6.898 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001515/0.2619, allocations: 96 kB / 0.8703 GB, free: 6.805 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002706/0.2646, allocations: 1.393 MB / 0.8716 GB, free: 5.379 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.449e-05/0.2647, allocations: 3.938 kB / 0.8716 GB, free: 5.375 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.739e-05/0.2648, allocations: 40 kB / 0.8717 GB, free: 5.336 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.152e-05/0.2648, allocations: 32 kB / 0.8717 GB, free: 5.305 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003612/0.2684, allocations: 1.495 MB / 0.8732 GB, free: 3.809 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.00675/0.2752, allocations: 5.393 MB / 0.8784 GB, free: 14.17 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00275/0.278, allocations: 1.122 MB / 0.8795 GB, free: 13.04 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001543/0.2795, allocations: 0.6373 MB / 0.8802 GB, free: 12.4 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006842/0.2802, allocations: 1.073 MB / 0.8812 GB, free: 11.09 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001672/0.2819, allocations: 0.7135 MB / 0.8819 GB, free: 10.36 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=60): time 2.003e-06/0.2819, allocations: 0 / 0.8819 GB, free: 10.36 MB / 0.7012 GB Notification: Performance of matching and sorting (n=60): time 0.004704/0.2866, allocations: 1.86 MB / 0.8837 GB, free: 8.496 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.551e-05/0.2867, allocations: 55.97 kB / 0.8838 GB, free: 8.43 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001535/0.2882, allocations: 1.397 MB / 0.8851 GB, free: 7.023 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 6.975e-05/0.2883, allocations: 49.64 kB / 0.8852 GB, free: 6.969 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004886/0.2888, allocations: 0.6384 MB / 0.8858 GB, free: 6.32 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001684/0.289, allocations: 209 kB / 0.886 GB, free: 6.113 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001166/0.2891, allocations: 69.67 kB / 0.8861 GB, free: 6.039 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001064/0.2892, allocations: 334 kB / 0.8864 GB, free: 5.707 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00153/0.2907, allocations: 0.5875 MB / 0.887 GB, free: 5.121 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001662/0.2924, allocations: 0.7887 MB / 0.8877 GB, free: 4.254 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002999/0.2954, allocations: 1.267 MB / 0.889 GB, free: 2.918 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.2954, allocations: 0 / 0.889 GB, free: 2.918 MB / 0.7012 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.003459/0.2989, allocations: 1.51 MB / 0.8904 GB, free: 1.398 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/0.2989, allocations: 8 kB / 0.8905 GB, free: 1.391 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.167e-06/0.2989, allocations: 4 kB / 0.8905 GB, free: 1.387 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.849e-05/0.2989, allocations: 19.92 kB / 0.8905 GB, free: 1.367 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001165/0.3001, allocations: 267.9 kB / 0.8907 GB, free: 1.105 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.277e-05/0.3001, allocations: 12 kB / 0.8907 GB, free: 1.094 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001321/0.3015, allocations: 229.8 kB / 0.891 GB, free: 0.8711 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.668e-05/0.3016, allocations: 43.97 kB / 0.891 GB, free: 0.8281 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.0004411/0.302, allocations: 357.5 kB / 0.8913 GB, free: 480 kB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001737/0.3022, allocations: 150.2 kB / 0.8915 GB, free: 328 kB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003586/0.3058, allocations: 1.477 MB / 0.8929 GB, free: 14.83 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.154e-05/0.3058, allocations: 12 kB / 0.8929 GB, free: 14.82 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.3058, allocations: 0 / 0.8929 GB, free: 14.82 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003174/0.309, allocations: 1.333 MB / 0.8942 GB, free: 13.45 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005207/0.3142, allocations: 3.02 MB / 0.8972 GB, free: 10.34 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.109e-06/0.3142, allocations: 4 kB / 0.8972 GB, free: 10.34 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001089/0.3153, allocations: 235.9 kB / 0.8974 GB, free: 10.11 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.073e-06/0.3153, allocations: 8 kB / 0.8974 GB, free: 10.1 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.622e-05/0.3154, allocations: 23.97 kB / 0.8975 GB, free: 10.07 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.97e-06/0.3154, allocations: 4 kB / 0.8975 GB, free: 10.07 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.838e-06/0.3154, allocations: 7.938 kB / 0.8975 GB, free: 10.06 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005064/0.3205, allocations: 2.332 MB / 0.8997 GB, free: 7.688 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000453/0.321, allocations: 371 kB / 0.9001 GB, free: 7.305 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001615/0.3211, allocations: 15.98 kB / 0.9001 GB, free: 7.289 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001217/0.3223, allocations: 163.8 kB / 0.9003 GB, free: 7.129 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.844e-05/0.3225, allocations: 52.42 kB / 0.9003 GB, free: 7.078 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.768e-05/0.3225, allocations: 40 kB / 0.9004 GB, free: 7.039 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001118/0.3237, allocations: 0.9826 MB / 0.9013 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3237, allocations: 0 / 0.9013 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.00101/0.3247, allocations: 455.4 kB / 0.9017 GB, free: 5.613 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.005977/0.3307, allocations: 3.206 MB / 0.9049 GB, free: 2.355 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.003244/0.3339, allocations: 1.352 MB / 0.9062 GB, free: 1.004 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.3339, allocations: 0 / 0.9062 GB, free: 1.004 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001653/0.3356, allocations: 0.6871 MB / 0.9069 GB, free: 328 kB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003428/0.339, allocations: 0.7519 MB / 0.9076 GB, free: 15.58 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02288/0.3619, allocations: 13.89 MB / 0.9212 GB, free: 1.16 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2903/0.6523, allocations: 1.218 MB / 0.9224 GB, free: 132.5 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001614/0.6539, allocations: 300.7 kB / 0.9226 GB, free: 132.5 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009172/0.6549, allocations: 0.5614 MB / 0.9232 GB, free: 132.5 MB / 0.7325 GB Notification: Performance of SimCode: time 8.71e-07/0.6549, allocations: 0 / 0.9232 GB, free: 132.5 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.42/4.075, allocations: 41.37 MB / 0.9636 GB, free: 116.3 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001764/4.075, allocations: 256.2 kB / 0.9638 GB, free: 116.1 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.827/6.902, allocations: 0 / 0.9638 GB, free: 116.1 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)