Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.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: translateModel(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar") translateModel(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001402/0.001401, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001411/0.001411, allocations: 198.5 kB / 16.14 MB, free: 6.688 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.464/1.464, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.968/2.968, allocations: 472.6 MB / 0.7447 GB, free: 4.941 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001206/0.001206, allocations: 65.2 kB / 0.9114 GB, free: 33.61 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3176/0.3188, allocations: 159.9 MB / 1.068 GB, free: 10.9 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar): time 0.002558/0.3214, allocations: 1.598 MB / 1.069 GB, free: 9.289 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001132/0.3225, allocations: 0.7752 MB / 1.07 GB, free: 8.508 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.583e-05/0.3226, allocations: 3.938 kB / 1.07 GB, free: 8.504 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.002e-05/0.3226, allocations: 0 / 1.07 GB, free: 8.504 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 6.847e-05/0.3227, allocations: 19.84 kB / 1.07 GB, free: 8.484 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003045/0.323, allocations: 71.8 kB / 1.07 GB, free: 8.414 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 7.228e-05/0.3231, allocations: 39.86 kB / 1.07 GB, free: 8.375 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 8.541e-05/0.3232, allocations: 15.94 kB / 1.07 GB, free: 8.359 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 8.514e-05/0.3233, allocations: 23.92 kB / 1.07 GB, free: 8.336 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.072e-05/0.3234, allocations: 27.84 kB / 1.07 GB, free: 8.309 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.435e-05/0.3234, allocations: 4 kB / 1.07 GB, free: 8.305 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001482/0.3235, allocations: 59.94 kB / 1.07 GB, free: 8.246 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.67e-05/0.3235, allocations: 11.98 kB / 1.07 GB, free: 8.234 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.149e-05/0.3236, allocations: 19.86 kB / 1.07 GB, free: 8.215 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001629/0.3238, allocations: 96 kB / 1.07 GB, free: 8.121 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.3238, allocations: 0 / 1.07 GB, free: 8.121 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.184e-06/0.3238, allocations: 7.984 kB / 1.07 GB, free: 8.113 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.547e-06/0.3238, allocations: 0 / 1.07 GB, free: 8.113 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004826/0.3243, allocations: 367.3 kB / 1.071 GB, free: 7.707 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.275e-05/0.3243, allocations: 8.031 kB / 1.071 GB, free: 7.699 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003216/0.3246, allocations: 32.81 kB / 1.071 GB, free: 7.668 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001403/0.3248, allocations: 180.2 kB / 1.071 GB, free: 7.453 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.102e-05/0.3248, allocations: 4.375 kB / 1.071 GB, free: 7.449 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.104e-05/0.3248, allocations: 384 / 1.071 GB, free: 7.449 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002544/0.3251, allocations: 85.89 kB / 1.071 GB, free: 7.359 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.334e-06/0.3251, allocations: 0 / 1.071 GB, free: 7.359 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.203e-05/0.3251, allocations: 0 / 1.071 GB, free: 7.359 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.311e-06/0.3251, allocations: 3.984 kB / 1.071 GB, free: 7.355 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002869/0.3254, allocations: 67.95 kB / 1.071 GB, free: 7.289 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000529/0.326, allocations: 316.6 kB / 1.071 GB, free: 6.93 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002902/0.3263, allocations: 82.47 kB / 1.071 GB, free: 6.84 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001474/0.3264, allocations: 40.86 kB / 1.071 GB, free: 6.797 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.258e-05/0.3265, allocations: 0 / 1.071 GB, free: 6.797 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.674e-05/0.3265, allocations: 34.56 kB / 1.071 GB, free: 6.754 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=3): time 1.173e-06/0.3265, allocations: 0 / 1.071 GB, free: 6.754 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3): time 0.0005962/0.3271, allocations: 141.5 kB / 1.072 GB, free: 6.609 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.415e-05/0.3271, allocations: 55.34 kB / 1.072 GB, free: 6.543 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.66e-05/0.3272, allocations: 117.8 kB / 1.072 GB, free: 6.418 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.101e-05/0.3273, allocations: 29.7 kB / 1.072 GB, free: 6.383 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.587e-05/0.3273, allocations: 88.14 kB / 1.072 GB, free: 6.293 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.56e-05/0.3274, allocations: 11.83 kB / 1.072 GB, free: 6.281 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.854e-05/0.3274, allocations: 25.7 kB / 1.072 GB, free: 6.25 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001205/0.3275, allocations: 318.8 kB / 1.072 GB, free: 5.93 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001631/0.3277, allocations: 35.97 kB / 1.072 GB, free: 5.895 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001316/0.3279, allocations: 31.97 kB / 1.072 GB, free: 5.863 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002595/0.3281, allocations: 65.09 kB / 1.072 GB, free: 5.797 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.3281, allocations: 0 / 1.072 GB, free: 5.797 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003315/0.3285, allocations: 109.5 kB / 1.072 GB, free: 5.684 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.851e-05/0.3285, allocations: 5.875 kB / 1.072 GB, free: 5.68 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.744e-05/0.3285, allocations: 11.91 kB / 1.072 GB, free: 5.668 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.221e-05/0.3285, allocations: 4 kB / 1.072 GB, free: 5.664 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001495/0.3287, allocations: 15.98 kB / 1.072 GB, free: 5.648 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.518e-06/0.3287, allocations: 0 / 1.072 GB, free: 5.648 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.331e-05/0.3288, allocations: 11.98 kB / 1.072 GB, free: 5.637 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.298e-05/0.3288, allocations: 0 / 1.072 GB, free: 5.637 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (3): * Single equations (assignments): 3 * 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 8.462e-05/0.3289, allocations: 113.8 kB / 1.073 GB, free: 5.516 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.628e-05/0.329, allocations: 11.89 kB / 1.073 GB, free: 5.504 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.194e-05/0.329, allocations: 11.91 kB / 1.073 GB, free: 5.484 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.329, allocations: 0 / 1.073 GB, free: 5.484 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.329, allocations: 4 kB / 1.073 GB, free: 5.48 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.329, allocations: 0 / 1.073 GB, free: 5.48 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002023/0.3292, allocations: 185.6 kB / 1.073 GB, free: 5.25 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.3293, allocations: 0 / 1.073 GB, free: 5.25 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001218/0.3294, allocations: 27.84 kB / 1.073 GB, free: 5.223 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.3294, allocations: 0 / 1.073 GB, free: 5.223 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.405e-05/0.3294, allocations: 0 / 1.073 GB, free: 5.223 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.3294, allocations: 4 kB / 1.073 GB, free: 5.219 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/0.3294, allocations: 4 kB / 1.073 GB, free: 5.215 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000394/0.3298, allocations: 203.4 kB / 1.073 GB, free: 5 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.673e-05/0.3299, allocations: 81.02 kB / 1.073 GB, free: 4.902 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.393e-05/0.3299, allocations: 4 kB / 1.073 GB, free: 4.898 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001243/0.3301, allocations: 11.98 kB / 1.073 GB, free: 4.887 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.545e-05/0.3301, allocations: 0 / 1.073 GB, free: 4.887 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.376e-05/0.3301, allocations: 7.984 kB / 1.073 GB, free: 4.879 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.034e-05/0.3302, allocations: 91.27 kB / 1.073 GB, free: 4.789 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.81e-07/0.3302, allocations: 0 / 1.073 GB, free: 4.789 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002733/0.3305, allocations: 28 kB / 1.073 GB, free: 4.762 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (3): * Single equations (assignments): 3 * 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 Backend phase and start with SimCode phase: time 0.0002262/0.3307, allocations: 127.2 kB / 1.073 GB, free: 4.629 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003534/0.3311, allocations: 71.94 kB / 1.073 GB, free: 4.559 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.3311, allocations: 4 kB / 1.073 GB, free: 4.555 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001567/0.3312, allocations: 43.89 kB / 1.073 GB, free: 4.512 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003166/0.3316, allocations: 3.938 kB / 1.073 GB, free: 4.508 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004621/0.332, allocations: 176.9 kB / 1.074 GB, free: 4.305 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002862/0.3323, allocations: 0.6848 MB / 1.074 GB, free: 3.594 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 9.667e-05/0.3324, allocations: 15.98 kB / 1.074 GB, free: 3.578 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.763e-05/0.3325, allocations: 15.42 kB / 1.074 GB, free: 3.562 MB / 0.8262 GB Notification: Performance of SimCode: time 2.61e-07/0.3325, allocations: 0 / 1.074 GB, free: 3.562 MB / 0.8262 GB Notification: Performance of Templates: time 0.003484/0.336, allocations: 1.018 MB / 1.075 GB, free: 2.551 MB / 0.8262 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.sim & ./Buildings_3.0.0_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.pipe 2>&1)