Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.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.NormalizedHeatFlowRate,fileNamePrefix="Buildings_latest_Buildings_Fluid_Storage_Ice_BaseClasses_Examples_NormalizedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate,fileNamePrefix="Buildings_latest_Buildings_Fluid_Storage_Ice_BaseClasses_Examples_NormalizedHeatFlowRate",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.0009089/0.0009089, 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.00106/0.00106, 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.388/1.388, allocations: 223.3 MB / 240 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.438/2.438, allocations: 409.4 MB / 0.684 GB, free: 0.9453 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.000565/0.0005651, allocations: 15.94 kB / 0.8378 GB, free: 6.469 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6746/0.6752, allocations: 146.8 MB / 0.9811 GB, free: 6.258 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate): time 0.002091/0.6773, allocations: 1.658 MB / 0.9828 GB, free: 4.59 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.000982/0.6783, allocations: 0.6286 MB / 0.9834 GB, free: 3.953 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.737e-05/0.6784, allocations: 4 kB / 0.9834 GB, free: 3.949 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0001017/0.6785, allocations: 11.86 kB / 0.9834 GB, free: 3.938 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 7.729e-05/0.6786, allocations: 23.86 kB / 0.9834 GB, free: 3.914 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002462/0.6788, allocations: 63.86 kB / 0.9835 GB, free: 3.852 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001507/0.679, allocations: 127.6 kB / 0.9836 GB, free: 3.727 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001465/0.6792, allocations: 71.05 kB / 0.9837 GB, free: 3.648 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 8.938e-05/0.6792, allocations: 51.78 kB / 0.9837 GB, free: 3.598 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 9.519e-05/0.6794, allocations: 43.7 kB / 0.9838 GB, free: 3.555 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.604e-05/0.6794, allocations: 4 kB / 0.9838 GB, free: 3.551 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001177/0.6795, allocations: 59.83 kB / 0.9838 GB, free: 3.492 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 7.301e-05/0.6796, allocations: 55.81 kB / 0.9839 GB, free: 3.438 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 4.4e-05/0.6796, allocations: 53.58 kB / 0.9839 GB, free: 3.379 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001971/0.6798, allocations: 189.8 kB / 0.9841 GB, free: 3.195 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.6798, allocations: 0 / 0.9841 GB, free: 3.195 MB / 0.7325 GB Notification: Performance of FrontEnd: time 9.42e-07/0.6799, allocations: 0 / 0.9841 GB, free: 3.195 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.278e-06/0.6799, allocations: 4 kB / 0.9841 GB, free: 3.191 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0006853/0.6806, allocations: 0.4985 MB / 0.9846 GB, free: 2.645 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.639e-05/0.6806, allocations: 12.03 kB / 0.9846 GB, free: 2.633 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.791e-05/0.6807, allocations: 46.55 kB / 0.9847 GB, free: 2.578 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001455/0.6821, allocations: 434.9 kB / 0.9851 GB, free: 2.152 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005826/0.6827, allocations: 302.7 kB / 0.9854 GB, free: 1.82 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.717e-05/0.6828, allocations: 67.62 kB / 0.9854 GB, free: 1.742 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.695e-05/0.6828, allocations: 12 kB / 0.9854 GB, free: 1.73 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008962/0.6837, allocations: 387.1 kB / 0.9858 GB, free: 1.348 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.6838, allocations: 0 / 0.9858 GB, free: 1.348 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.326e-05/0.6838, allocations: 15.94 kB / 0.9858 GB, free: 1.332 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.61e-06/0.6838, allocations: 0 / 0.9858 GB, free: 1.332 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001105/0.6849, allocations: 0.547 MB / 0.9864 GB, free: 0.7852 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001818/0.6867, allocations: 1.006 MB / 0.9873 GB, free: 15.73 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006094/0.6874, allocations: 298.3 kB / 0.9876 GB, free: 15.43 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005968/0.688, allocations: 280.6 kB / 0.9879 GB, free: 15.15 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 1.888e-05/0.688, allocations: 8.078 kB / 0.9879 GB, free: 15.14 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.415e-05/0.688, allocations: 34.56 kB / 0.9879 GB, free: 15.1 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=7): time 1.664e-06/0.6881, allocations: 4 kB / 0.9879 GB, free: 15.09 MB / 0.7481 GB Notification: Performance of matching and sorting (n=7): time 0.002707/0.6908, allocations: 0.7975 MB / 0.9887 GB, free: 14.29 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.897e-05/0.6908, allocations: 55.34 kB / 0.9888 GB, free: 14.22 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006343/0.6915, allocations: 298.7 kB / 0.989 GB, free: 13.92 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 3.09e-05/0.6915, allocations: 25.7 kB / 0.9891 GB, free: 13.89 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001268/0.6917, allocations: 152 kB / 0.9892 GB, free: 13.74 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 4.876e-05/0.6917, allocations: 27.72 kB / 0.9892 GB, free: 13.71 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.85e-05/0.6917, allocations: 0 / 0.9892 GB, free: 13.71 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001503/0.6919, allocations: 334.8 kB / 0.9896 GB, free: 13.38 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007601/0.6927, allocations: 263.8 kB / 0.9898 GB, free: 13.12 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008961/0.6936, allocations: 267.7 kB / 0.9901 GB, free: 12.86 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008173/0.6944, allocations: 220.2 kB / 0.9903 GB, free: 12.64 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.092e-06/0.6944, allocations: 3.953 kB / 0.9903 GB, free: 12.64 MB / 0.7481 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.001897/0.6963, allocations: 0.5438 MB / 0.9908 GB, free: 12.09 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.033e-05/0.6964, allocations: 4 kB / 0.9908 GB, free: 12.08 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.291e-06/0.6964, allocations: 4 kB / 0.9908 GB, free: 12.08 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.526e-05/0.6964, allocations: 0 / 0.9908 GB, free: 12.08 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006003/0.697, allocations: 99.77 kB / 0.9909 GB, free: 11.98 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.683e-06/0.6971, allocations: 3.938 kB / 0.9909 GB, free: 11.98 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004131/0.6975, allocations: 83.86 kB / 0.991 GB, free: 11.89 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.014e-05/0.6976, allocations: 3.984 kB / 0.991 GB, free: 11.89 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (not1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 0.0001892/0.6978, allocations: 137.8 kB / 0.9911 GB, free: 11.75 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.046e-05/0.6978, allocations: 31.66 kB / 0.9912 GB, free: 11.71 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.871e-05/0.6979, allocations: 21.72 kB / 0.9912 GB, free: 11.7 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.6979, allocations: 0 / 0.9912 GB, free: 11.7 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.188e-06/0.6979, allocations: 4 kB / 0.9912 GB, free: 11.69 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/0.698, allocations: 7.984 kB / 0.9912 GB, free: 11.68 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007393/0.6987, allocations: 432.5 kB / 0.9916 GB, free: 11.21 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.6987, allocations: 0 / 0.9916 GB, free: 11.21 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005408/0.6993, allocations: 91.83 kB / 0.9917 GB, free: 11.12 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.6993, allocations: 4 kB / 0.9917 GB, free: 11.12 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.643e-05/0.6993, allocations: 7.984 kB / 0.9917 GB, free: 11.11 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.452e-06/0.6993, allocations: 3.938 kB / 0.9917 GB, free: 11.11 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.6993, allocations: 0 / 0.9917 GB, free: 11.11 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001637/0.701, allocations: 0.6432 MB / 0.9923 GB, free: 10.45 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 9.983e-05/0.7011, allocations: 104.8 kB / 0.9924 GB, free: 10.32 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.885e-05/0.7011, allocations: 0 / 0.9924 GB, free: 10.32 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000497/0.7017, allocations: 75.86 kB / 0.9925 GB, free: 10.25 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.182e-05/0.7017, allocations: 7.984 kB / 0.9925 GB, free: 10.24 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.243e-05/0.7018, allocations: 11.98 kB / 0.9925 GB, free: 10.23 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0002508/0.702, allocations: 213.9 kB / 0.9927 GB, free: 10.02 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2.31e-07/0.702, allocations: 4 kB / 0.9927 GB, free: 10.02 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0003085/0.7024, allocations: 39.92 kB / 0.9928 GB, free: 9.977 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (not1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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.001725/0.7041, allocations: 1.189 MB / 0.9939 GB, free: 8.762 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001474/0.7056, allocations: 0.5307 MB / 0.9945 GB, free: 8.23 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.7056, allocations: 0 / 0.9945 GB, free: 8.23 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.001083/0.7067, allocations: 283.7 kB / 0.9947 GB, free: 7.953 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004727/0.7072, allocations: 16.56 kB / 0.9947 GB, free: 7.938 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006745/0.7139, allocations: 2.517 MB / 0.9972 GB, free: 5.375 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006099/0.7146, allocations: 0.7513 MB / 0.9979 GB, free: 4.598 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0003538/0.715, allocations: 53.42 kB / 0.998 GB, free: 4.547 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002693/0.7152, allocations: 79.38 kB / 0.9981 GB, free: 4.469 MB / 0.7481 GB Notification: Performance of SimCode: time 1.312e-06/0.7153, allocations: 0 / 0.9981 GB, free: 4.469 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01957/0.7348, allocations: 4.825 MB / 1.003 GB, free: 15.83 MB / 0.7637 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000251/0.7351, allocations: 211.7 kB / 1.003 GB, free: 15.59 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.895/2.63, allocations: 1 kB / 1.003 GB, free: 15.59 MB / 0.7637 GB (rm -f Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.pipe >> ../files/Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Storage_Ice_BaseClasses_Examples_NormalizedHeatFlowRate_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Storage_Ice_BaseClasses_Examples_NormalizedHeatFlowRate.fmu > Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate_res.mat does not exist to compare? outputFormat=mat