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.001378/0.001378, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.001668/0.001668, allocations: 177.3 kB / 15.94 MB, free: 228 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.6/1.6, allocations: 223.2 MB / 239.9 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.686/2.686, allocations: 409.2 MB / 0.6838 GB, free: 0.957 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.000326/0.0003261, allocations: 8 kB / 0.8375 GB, free: 6.547 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6612/0.6615, allocations: 146.8 MB / 0.9809 GB, free: 6.297 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar): time 0.001666/0.6632, allocations: 1.226 MB / 0.9821 GB, free: 5.062 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001018/0.6643, allocations: 0.691 MB / 0.9828 GB, free: 4.359 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.24e-05/0.6643, allocations: 0 / 0.9828 GB, free: 4.359 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.482e-05/0.6643, allocations: 0 / 0.9828 GB, free: 4.359 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 7.821e-05/0.6644, allocations: 23.91 kB / 0.9828 GB, free: 4.336 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003021/0.6647, allocations: 71.78 kB / 0.9828 GB, free: 4.266 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 7.651e-05/0.6648, allocations: 35.94 kB / 0.9829 GB, free: 4.23 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 7.686e-05/0.6649, allocations: 7.984 kB / 0.9829 GB, free: 4.223 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 7.291e-05/0.665, allocations: 19.92 kB / 0.9829 GB, free: 4.203 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 6.865e-05/0.6651, allocations: 35.84 kB / 0.9829 GB, free: 4.168 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.022e-05/0.6651, allocations: 0 / 0.9829 GB, free: 4.168 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000139/0.6652, allocations: 63.88 kB / 0.983 GB, free: 4.105 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.47e-05/0.6653, allocations: 11.92 kB / 0.983 GB, free: 4.094 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.455e-05/0.6653, allocations: 33.7 kB / 0.983 GB, free: 4.055 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.000117/0.6654, allocations: 58.16 kB / 0.9831 GB, free: 4 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 2.124e-06/0.6654, allocations: 0 / 0.9831 GB, free: 4 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.403e-06/0.6654, allocations: 0 / 0.9831 GB, free: 4 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.2e-06/0.6654, allocations: 4 kB / 0.9831 GB, free: 3.996 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.0004332/0.6659, allocations: 371.1 kB / 0.9835 GB, free: 3.586 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.663e-05/0.6659, allocations: 12.03 kB / 0.9835 GB, free: 3.574 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.525e-05/0.666, allocations: 34.55 kB / 0.9835 GB, free: 3.531 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002877/0.6663, allocations: 23.88 kB / 0.9835 GB, free: 3.508 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001229/0.6664, allocations: 178.9 kB / 0.9837 GB, free: 3.293 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.963e-06/0.6664, allocations: 0 / 0.9837 GB, free: 3.293 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.481e-05/0.6664, allocations: 4 kB / 0.9837 GB, free: 3.289 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002489/0.6667, allocations: 89.58 kB / 0.9838 GB, free: 3.195 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.132e-06/0.6667, allocations: 0 / 0.9838 GB, free: 3.195 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.382e-05/0.6667, allocations: 4 kB / 0.9838 GB, free: 3.191 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.927e-06/0.6667, allocations: 0 / 0.9838 GB, free: 3.191 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003099/0.667, allocations: 79.92 kB / 0.9839 GB, free: 3.113 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005172/0.6676, allocations: 320.6 kB / 0.9842 GB, free: 2.75 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002724/0.6679, allocations: 82.53 kB / 0.9842 GB, free: 2.66 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.142e-05/0.6679, allocations: 3.938 kB / 0.9843 GB, free: 2.656 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.624e-05/0.6679, allocations: 34.56 kB / 0.9843 GB, free: 2.613 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=3): time 1.272e-06/0.6679, allocations: 0 / 0.9843 GB, free: 2.613 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3): time 0.0005436/0.6685, allocations: 149.6 kB / 0.9844 GB, free: 2.461 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.57e-05/0.6685, allocations: 55.41 kB / 0.9845 GB, free: 2.395 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.172e-05/0.6686, allocations: 117.8 kB / 0.9846 GB, free: 2.27 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.586e-05/0.6686, allocations: 25.7 kB / 0.9846 GB, free: 2.238 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.813e-05/0.6687, allocations: 96.05 kB / 0.9847 GB, free: 2.141 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.694e-05/0.6687, allocations: 3.906 kB / 0.9847 GB, free: 2.137 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.643e-06/0.6687, allocations: 0 / 0.9847 GB, free: 2.137 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001009/0.6688, allocations: 322.8 kB / 0.985 GB, free: 1.812 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001415/0.669, allocations: 39.97 kB / 0.9851 GB, free: 1.773 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001244/0.6691, allocations: 27.98 kB / 0.9851 GB, free: 1.746 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001429/0.6693, allocations: 35.97 kB / 0.9851 GB, free: 1.711 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.674e-06/0.6693, allocations: 0 / 0.9851 GB, free: 1.711 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003212/0.6696, allocations: 117.6 kB / 0.9852 GB, free: 1.59 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.507e-05/0.6696, allocations: 8 kB / 0.9852 GB, free: 1.582 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-06/0.6696, allocations: 3.938 kB / 0.9852 GB, free: 1.578 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.868e-06/0.6696, allocations: 0 / 0.9852 GB, free: 1.578 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001403/0.6698, allocations: 23.92 kB / 0.9853 GB, free: 1.555 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.699e-06/0.6698, allocations: 0 / 0.9853 GB, free: 1.555 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.98e-05/0.6699, allocations: 11.89 kB / 0.9853 GB, free: 1.543 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.411e-05/0.6699, allocations: 4 kB / 0.9853 GB, free: 1.539 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 8.542e-05/0.67, allocations: 117.8 kB / 0.9854 GB, free: 1.414 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.714e-05/0.67, allocations: 3.953 kB / 0.9854 GB, free: 1.41 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.308e-05/0.6701, allocations: 15.91 kB / 0.9854 GB, free: 1.391 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.6701, allocations: 0 / 0.9854 GB, free: 1.391 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.6701, allocations: 0 / 0.9854 GB, free: 1.391 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.6701, allocations: 0 / 0.9854 GB, free: 1.391 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002028/0.6703, allocations: 193.5 kB / 0.9856 GB, free: 1.152 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.6703, allocations: 0 / 0.9856 GB, free: 1.152 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000121/0.6705, allocations: 23.92 kB / 0.9856 GB, free: 1.129 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.6705, allocations: 3.938 kB / 0.9856 GB, free: 1.125 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.408e-06/0.6705, allocations: 0 / 0.9856 GB, free: 1.125 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.163e-06/0.6705, allocations: 4 kB / 0.9856 GB, free: 1.121 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.6705, allocations: 0 / 0.9856 GB, free: 1.121 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003656/0.6709, allocations: 211.3 kB / 0.9858 GB, free: 0.8984 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.22e-05/0.6709, allocations: 85.02 kB / 0.9859 GB, free: 0.7969 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.109e-05/0.6709, allocations: 7.938 kB / 0.9859 GB, free: 0.7891 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001216/0.6711, allocations: 12 kB / 0.9859 GB, free: 0.7773 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.764e-05/0.6711, allocations: 4.359 kB / 0.9859 GB, free: 0.7734 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.698e-06/0.6711, allocations: 4 kB / 0.9859 GB, free: 0.7695 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.754e-05/0.6712, allocations: 91.27 kB / 0.986 GB, free: 0.6797 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6712, allocations: 0 / 0.986 GB, free: 0.6797 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002649/0.6715, allocations: 24 kB / 0.986 GB, free: 0.6562 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.0007204/0.6722, allocations: 0.7671 MB / 0.9868 GB, free: 15.86 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0003276/0.6725, allocations: 79.94 kB / 0.9869 GB, free: 15.78 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.6725, allocations: 0 / 0.9869 GB, free: 15.78 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001516/0.6727, allocations: 47.95 kB / 0.9869 GB, free: 15.73 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000222/0.6729, allocations: 9.5 kB / 0.9869 GB, free: 15.73 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006038/0.6735, allocations: 232 kB / 0.9871 GB, free: 15.46 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002802/0.6738, allocations: 0.6887 MB / 0.9878 GB, free: 14.75 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 8.703e-05/0.6739, allocations: 12 kB / 0.9878 GB, free: 14.74 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.533e-05/0.674, allocations: 23.42 kB / 0.9879 GB, free: 14.71 MB / 0.7481 GB Notification: Performance of SimCode: time 2.4e-07/0.674, allocations: 0 / 0.9879 GB, free: 14.71 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01706/0.6911, allocations: 1.849 MB / 0.9897 GB, free: 13.01 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003004/0.6914, allocations: 199.5 kB / 0.9898 GB, free: 12.77 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.687/2.378, allocations: 2.391 kB / 0.9899 GB, free: 12.77 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