Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.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.Storage.Ice.BaseClasses.Examples.LMTDStar,fileNamePrefix="Buildings_latest_Buildings_Fluid_Storage_Ice_BaseClasses_Examples_LMTDStar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar,fileNamePrefix="Buildings_latest_Buildings_Fluid_Storage_Ice_BaseClasses_Examples_LMTDStar",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.001104/0.001104, allocations: 86.25 kB / 15.06 MB, free: 1.09 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.001576/0.001576, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.441/1.441, allocations: 223.2 MB / 240 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.477/2.477, allocations: 409.4 MB / 0.684 GB, free: 0.8633 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003287/0.0003288, allocations: 11.94 kB / 0.8378 GB, free: 6.488 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6675/0.6679, allocations: 146.8 MB / 0.9811 GB, free: 6.242 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar): time 0.00169/0.6696, allocations: 1.234 MB / 0.9824 GB, free: 5 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001039/0.6707, allocations: 0.7026 MB / 0.983 GB, free: 4.285 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.033e-05/0.6707, allocations: 4 kB / 0.983 GB, free: 4.281 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.675e-05/0.6707, allocations: 3.938 kB / 0.983 GB, free: 4.277 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 6.845e-05/0.6708, allocations: 15.91 kB / 0.9831 GB, free: 4.262 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002854/0.6711, allocations: 71.8 kB / 0.9831 GB, free: 4.191 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 7.958e-05/0.6712, allocations: 47.73 kB / 0.9832 GB, free: 4.145 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 7.453e-05/0.6713, allocations: 15.97 kB / 0.9832 GB, free: 4.129 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 7.481e-05/0.6714, allocations: 19.94 kB / 0.9832 GB, free: 4.109 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 8.446e-05/0.6714, allocations: 27.89 kB / 0.9832 GB, free: 4.082 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.177e-05/0.6715, allocations: 0 / 0.9832 GB, free: 4.082 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001367/0.6716, allocations: 59.95 kB / 0.9833 GB, free: 4.023 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.419e-05/0.6716, allocations: 11.94 kB / 0.9833 GB, free: 4.012 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.469e-05/0.6717, allocations: 25.7 kB / 0.9833 GB, free: 3.98 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001321/0.6718, allocations: 74.12 kB / 0.9834 GB, free: 3.91 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.6718, allocations: 0 / 0.9834 GB, free: 3.91 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.133e-06/0.6718, allocations: 3.938 kB / 0.9834 GB, free: 3.906 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 3.366e-06/0.6718, allocations: 0 / 0.9834 GB, free: 3.906 MB / 0.7325 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.0004692/0.6723, allocations: 375.1 kB / 0.9838 GB, free: 3.492 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.428e-05/0.6724, allocations: 12.03 kB / 0.9838 GB, free: 3.48 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.355e-05/0.6724, allocations: 30.56 kB / 0.9838 GB, free: 3.441 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002621/0.6727, allocations: 23.88 kB / 0.9838 GB, free: 3.418 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001264/0.6728, allocations: 174.9 kB / 0.984 GB, free: 3.207 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.513e-05/0.6728, allocations: 12 kB / 0.984 GB, free: 3.195 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.602e-05/0.6728, allocations: 3.984 kB / 0.984 GB, free: 3.191 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002478/0.6731, allocations: 81.59 kB / 0.9841 GB, free: 3.105 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/0.6731, allocations: 4 kB / 0.9841 GB, free: 3.102 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.124e-05/0.6731, allocations: 0 / 0.9841 GB, free: 3.102 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.757e-06/0.6731, allocations: 0 / 0.9841 GB, free: 3.102 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002475/0.6734, allocations: 71.94 kB / 0.9842 GB, free: 3.031 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004926/0.6739, allocations: 324.7 kB / 0.9845 GB, free: 2.664 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002328/0.6741, allocations: 78.47 kB / 0.9845 GB, free: 2.578 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001259/0.6743, allocations: 44.92 kB / 0.9846 GB, free: 2.531 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.986e-05/0.6743, allocations: 8 kB / 0.9846 GB, free: 2.523 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.066e-05/0.6743, allocations: 30.56 kB / 0.9846 GB, free: 2.484 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=3): time 1.182e-06/0.6743, allocations: 0 / 0.9846 GB, free: 2.484 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3): time 0.0004901/0.6748, allocations: 145.5 kB / 0.9848 GB, free: 2.336 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.76e-05/0.6749, allocations: 55.39 kB / 0.9848 GB, free: 2.27 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.316e-05/0.675, allocations: 121.8 kB / 0.9849 GB, free: 2.141 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.811e-05/0.675, allocations: 25.7 kB / 0.985 GB, free: 2.109 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.243e-05/0.6751, allocations: 95.98 kB / 0.985 GB, free: 2.012 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.381e-05/0.6751, allocations: 11.89 kB / 0.9851 GB, free: 2 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.643e-06/0.6751, allocations: 0 / 0.9851 GB, free: 2 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001369/0.6753, allocations: 318.8 kB / 0.9854 GB, free: 1.68 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001274/0.6754, allocations: 31.97 kB / 0.9854 GB, free: 1.648 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001125/0.6755, allocations: 39.97 kB / 0.9854 GB, free: 1.609 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001163/0.6756, allocations: 35.98 kB / 0.9855 GB, free: 1.574 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.6757, allocations: 3.953 kB / 0.9855 GB, free: 1.57 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002952/0.676, allocations: 113.6 kB / 0.9856 GB, free: 1.453 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.522e-05/0.676, allocations: 4 kB / 0.9856 GB, free: 1.449 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/0.676, allocations: 0 / 0.9856 GB, free: 1.449 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.195e-05/0.676, allocations: 3.938 kB / 0.9856 GB, free: 1.445 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001344/0.6761, allocations: 19.97 kB / 0.9856 GB, free: 1.426 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.6762, allocations: 0 / 0.9856 GB, free: 1.426 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.903e-05/0.6762, allocations: 11.91 kB / 0.9856 GB, free: 1.414 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.72e-05/0.6763, allocations: 7.984 kB / 0.9856 GB, free: 1.406 MB / 0.7325 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.139e-05/0.6764, allocations: 113.8 kB / 0.9857 GB, free: 1.285 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.837e-05/0.6764, allocations: 7.953 kB / 0.9857 GB, free: 1.277 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.82e-05/0.6764, allocations: 3.906 kB / 0.9857 GB, free: 1.27 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.207e-05/0.6764, allocations: 4 kB / 0.9857 GB, free: 1.266 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.6765, allocations: 0 / 0.9857 GB, free: 1.266 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.354e-06/0.6765, allocations: 0 / 0.9857 GB, free: 1.266 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001952/0.6767, allocations: 193.5 kB / 0.9859 GB, free: 1.027 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.6767, allocations: 7.953 kB / 0.9859 GB, free: 1.02 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00011/0.6768, allocations: 19.97 kB / 0.986 GB, free: 1 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.908e-06/0.6768, allocations: 4 kB / 0.986 GB, free: 0.9961 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.41e-05/0.6768, allocations: 8.312 kB / 0.986 GB, free: 0.9883 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.6768, allocations: 0 / 0.986 GB, free: 0.9883 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.6768, allocations: 0 / 0.986 GB, free: 0.9883 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003545/0.6772, allocations: 211.3 kB / 0.9862 GB, free: 0.7656 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.064e-05/0.6772, allocations: 92.95 kB / 0.9863 GB, free: 0.6562 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.808e-05/0.6773, allocations: 0 / 0.9863 GB, free: 0.6562 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001096/0.6774, allocations: 8 kB / 0.9863 GB, free: 0.6484 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.621e-05/0.6774, allocations: 11.98 kB / 0.9863 GB, free: 0.6367 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.357e-06/0.6774, allocations: 0 / 0.9863 GB, free: 0.6367 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 6.232e-05/0.6775, allocations: 103.6 kB / 0.9864 GB, free: 0.5352 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6775, allocations: 0 / 0.9864 GB, free: 0.5352 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002575/0.6778, allocations: 24 kB / 0.9864 GB, free: 0.5117 MB / 0.7325 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007308/0.6785, allocations: 0.7709 MB / 0.9872 GB, free: 15.71 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.000304/0.6788, allocations: 87.92 kB / 0.9872 GB, free: 15.62 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.6788, allocations: 0 / 0.9872 GB, free: 15.62 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001402/0.679, allocations: 39.97 kB / 0.9873 GB, free: 15.59 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002748/0.6793, allocations: 1.203 kB / 0.9873 GB, free: 15.59 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005393/0.6798, allocations: 232 kB / 0.9875 GB, free: 15.32 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002538/0.6801, allocations: 0.6848 MB / 0.9882 GB, free: 14.61 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 9.207e-05/0.6802, allocations: 19.98 kB / 0.9882 GB, free: 14.59 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.002e-05/0.6802, allocations: 19.42 kB / 0.9882 GB, free: 14.57 MB / 0.7481 GB Notification: Performance of SimCode: time 3.81e-07/0.6802, allocations: 4 kB / 0.9882 GB, free: 14.57 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01262/0.6929, allocations: 1.856 MB / 0.99 GB, free: 12.87 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001986/0.6931, allocations: 201.1 kB / 0.9902 GB, free: 12.62 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.789/2.482, allocations: 3.938 kB / 0.9902 GB, free: 12.62 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.pipe >> ../files/Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Storage_Ice_BaseClasses_Examples_LMTDStar_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Storage_Ice_BaseClasses_Examples_LMTDStar.fmu > Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar_res.mat does not exist to compare? outputFormat=mat