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.001048/0.001048, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001038/0.001038, allocations: 189.6 kB / 16.25 MB, free: 6.625 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.293/1.293, allocations: 205.1 MB / 222.1 MB, free: 4.93 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.62/1.62, allocations: 292.3 MB / 0.5486 GB, free: 13.64 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.001348/0.001348, allocations: 65.42 kB / 0.6711 GB, free: 26.3 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1804/0.1818, allocations: 114.6 MB / 0.783 GB, free: 13.84 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam): time 0.0493/0.2311, allocations: 53 MB / 0.8347 GB, free: 8.637 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01451/0.2457, allocations: 11.34 MB / 0.8458 GB, free: 13.27 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001582/0.2473, allocations: 51.69 kB / 0.8459 GB, free: 13.22 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.001859/0.2492, allocations: 0.6449 MB / 0.8465 GB, free: 12.57 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.004585/0.2538, allocations: 1.995 MB / 0.8484 GB, free: 10.57 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.002869/0.2567, allocations: 1.274 MB / 0.8497 GB, free: 9.309 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.004162/0.2608, allocations: 3.922 MB / 0.8535 GB, free: 5.379 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0015/0.2623, allocations: 1.275 MB / 0.8548 GB, free: 4.07 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002544/0.2649, allocations: 1.417 MB / 0.8561 GB, free: 2.656 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001113/0.266, allocations: 1.124 MB / 0.8572 GB, free: 1.527 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0001854/0.2662, allocations: 140 kB / 0.8574 GB, free: 1.391 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001939/0.2682, allocations: 1.056 MB / 0.8584 GB, free: 340 kB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.000357/0.2685, allocations: 438.6 kB / 0.8588 GB, free: 15.9 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0007309/0.2693, allocations: 0.859 MB / 0.8597 GB, free: 15.04 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.002677/0.272, allocations: 2.571 MB / 0.8622 GB, free: 12.46 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.272, allocations: 0 / 0.8622 GB, free: 12.46 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.523e-06/0.272, allocations: 3.938 kB / 0.8622 GB, free: 12.46 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 1.65e-05/0.272, allocations: 0 / 0.8622 GB, free: 12.46 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.003163/0.2752, allocations: 2.01 MB / 0.8641 GB, free: 10.39 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.2752, allocations: 8.031 kB / 0.8641 GB, free: 10.38 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001696/0.2754, allocations: 143.8 kB / 0.8643 GB, free: 10.23 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00347/0.2789, allocations: 0.5725 MB / 0.8648 GB, free: 9.66 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001901/0.2808, allocations: 1.356 MB / 0.8662 GB, free: 8.25 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001321/0.2809, allocations: 119.7 kB / 0.8663 GB, free: 8.125 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001497/0.2811, allocations: 96 kB / 0.8664 GB, free: 8.031 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002842/0.2839, allocations: 1.354 MB / 0.8677 GB, free: 6.645 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.598e-05/0.284, allocations: 0 / 0.8677 GB, free: 6.645 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001041/0.2841, allocations: 44 kB / 0.8677 GB, free: 6.602 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.324e-05/0.2841, allocations: 24 kB / 0.8678 GB, free: 6.578 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003598/0.2877, allocations: 1.425 MB / 0.8691 GB, free: 5.152 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.007612/0.2954, allocations: 5.366 MB / 0.8744 GB, free: 15.54 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002939/0.2983, allocations: 1.071 MB / 0.8754 GB, free: 14.45 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001541/0.2999, allocations: 0.5997 MB / 0.876 GB, free: 13.85 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007697/0.3006, allocations: 1.065 MB / 0.8771 GB, free: 12.55 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001725/0.3024, allocations: 0.6744 MB / 0.8777 GB, free: 11.86 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=60): time 2.665e-06/0.3024, allocations: 4 kB / 0.8777 GB, free: 11.86 MB / 0.7012 GB Notification: Performance of matching and sorting (n=60): time 0.00494/0.3073, allocations: 1.754 MB / 0.8794 GB, free: 10.1 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.282e-05/0.3074, allocations: 59.97 kB / 0.8795 GB, free: 10.02 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001596/0.309, allocations: 1.389 MB / 0.8808 GB, free: 8.625 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 7.592e-05/0.3091, allocations: 37.7 kB / 0.8809 GB, free: 8.582 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005018/0.3096, allocations: 0.6461 MB / 0.8815 GB, free: 7.926 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001916/0.3098, allocations: 213 kB / 0.8817 GB, free: 7.715 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002834/0.3101, allocations: 166.5 kB / 0.8819 GB, free: 7.547 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001131/0.3102, allocations: 334 kB / 0.8822 GB, free: 7.215 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001557/0.3118, allocations: 0.5484 MB / 0.8827 GB, free: 6.668 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001701/0.3135, allocations: 0.7723 MB / 0.8835 GB, free: 5.82 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003064/0.3166, allocations: 1.185 MB / 0.8846 GB, free: 4.57 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/0.3166, allocations: 96 / 0.8846 GB, free: 4.57 MB / 0.7012 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.003617/0.3202, allocations: 1.44 MB / 0.886 GB, free: 3.121 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.756e-05/0.3202, allocations: 10.5 kB / 0.8861 GB, free: 3.113 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.636e-06/0.3202, allocations: 4 kB / 0.8861 GB, free: 3.109 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.822e-05/0.3203, allocations: 12 kB / 0.8861 GB, free: 3.098 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001252/0.3215, allocations: 252 kB / 0.8863 GB, free: 2.852 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.484e-05/0.3215, allocations: 15.94 kB / 0.8863 GB, free: 2.836 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001411/0.323, allocations: 218.8 kB / 0.8865 GB, free: 2.621 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.558e-05/0.3231, allocations: 43.97 kB / 0.8866 GB, free: 2.578 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.0004621/0.3235, allocations: 353.6 kB / 0.8869 GB, free: 2.223 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002211/0.3238, allocations: 146.2 kB / 0.8871 GB, free: 2.078 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003714/0.3275, allocations: 1.411 MB / 0.8884 GB, free: 0.6523 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.376e-05/0.3275, allocations: 7.984 kB / 0.8884 GB, free: 0.6445 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.9e-06/0.3275, allocations: 4 kB / 0.8884 GB, free: 0.6406 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003351/0.3309, allocations: 1.263 MB / 0.8897 GB, free: 15.35 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005552/0.3364, allocations: 2.941 MB / 0.8925 GB, free: 12.31 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.3365, allocations: 0 / 0.8925 GB, free: 12.31 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001161/0.3376, allocations: 207.8 kB / 0.8927 GB, free: 12.11 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.464e-06/0.3376, allocations: 4 kB / 0.8928 GB, free: 12.11 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.855e-05/0.3377, allocations: 31.97 kB / 0.8928 GB, free: 12.07 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.15e-06/0.3377, allocations: 4 kB / 0.8928 GB, free: 12.07 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.3377, allocations: 3.938 kB / 0.8928 GB, free: 12.07 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005314/0.3431, allocations: 2.223 MB / 0.895 GB, free: 9.797 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004804/0.3435, allocations: 351 kB / 0.8953 GB, free: 9.434 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001926/0.3437, allocations: 28.05 kB / 0.8953 GB, free: 9.406 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001283/0.345, allocations: 123.8 kB / 0.8954 GB, free: 9.285 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001216/0.3452, allocations: 60.36 kB / 0.8955 GB, free: 9.227 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.238e-05/0.3453, allocations: 39.97 kB / 0.8955 GB, free: 9.188 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001248/0.3465, allocations: 0.9787 MB / 0.8965 GB, free: 8.211 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3465, allocations: 0 / 0.8965 GB, free: 8.211 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001112/0.3476, allocations: 455.3 kB / 0.8969 GB, free: 7.766 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.006348/0.354, allocations: 3.1 MB / 0.9 GB, free: 4.621 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.003771/0.3578, allocations: 1.332 MB / 0.9013 GB, free: 3.285 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.3578, allocations: 4.125 kB / 0.9013 GB, free: 3.281 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001761/0.3596, allocations: 0.6516 MB / 0.9019 GB, free: 2.633 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003224/0.3628, allocations: 0.7795 MB / 0.9027 GB, free: 1.887 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02451/0.3873, allocations: 13.64 MB / 0.916 GB, free: 3.707 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00077/0.3881, allocations: 1.221 MB / 0.9172 GB, free: 2.457 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001297/0.3894, allocations: 305.6 kB / 0.9175 GB, free: 2.156 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007829/0.3902, allocations: 0.5617 MB / 0.918 GB, free: 1.594 MB / 0.7325 GB Notification: Performance of SimCode: time 7.42e-07/0.3902, allocations: 0 / 0.918 GB, free: 1.594 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.352/2.743, allocations: 41.53 MB / 0.9586 GB, free: 121.1 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002005/2.743, allocations: 252.7 kB / 0.9588 GB, free: 120.8 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.07/5.812, allocations: 3.938 kB / 0.9588 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)