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.001225/0.001225, allocations: 99.31 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.00134/0.00134, allocations: 177.3 kB / 15.95 MB, free: 216 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.386/1.386, allocations: 223.2 MB / 239.9 MB, free: 5.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.341/2.341, allocations: 409.2 MB / 0.6838 GB, free: 0.9531 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003846/0.0003847, allocations: 8 kB / 0.8375 GB, free: 6.57 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.026/1.026, allocations: 146.8 MB / 0.9809 GB, free: 6.289 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate): time 0.003094/1.03, allocations: 1.642 MB / 0.9825 GB, free: 4.641 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001499/1.031, allocations: 0.6363 MB / 0.9831 GB, free: 3.992 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001303/1.031, allocations: 4 kB / 0.9831 GB, free: 3.988 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 6.344e-05/1.031, allocations: 11.92 kB / 0.9831 GB, free: 3.977 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001566/1.032, allocations: 23.89 kB / 0.9831 GB, free: 3.953 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004051/1.032, allocations: 71.8 kB / 0.9832 GB, free: 3.883 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0002229/1.032, allocations: 83.84 kB / 0.9833 GB, free: 3.801 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002167/1.032, allocations: 67.12 kB / 0.9834 GB, free: 3.727 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001298/1.033, allocations: 47.77 kB / 0.9834 GB, free: 3.68 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001383/1.033, allocations: 51.7 kB / 0.9835 GB, free: 3.629 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.422e-05/1.033, allocations: 4 kB / 0.9835 GB, free: 3.625 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000169/1.033, allocations: 51.89 kB / 0.9835 GB, free: 3.574 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 9.216e-05/1.033, allocations: 55.77 kB / 0.9836 GB, free: 3.52 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 6.6e-05/1.033, allocations: 53.58 kB / 0.9836 GB, free: 3.461 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002979/1.033, allocations: 189.8 kB / 0.9838 GB, free: 3.277 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/1.033, allocations: 0 / 0.9838 GB, free: 3.277 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.004e-06/1.033, allocations: 0 / 0.9838 GB, free: 3.277 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.632e-06/1.033, allocations: 4 kB / 0.9838 GB, free: 3.273 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.001012/1.034, allocations: 0.5102 MB / 0.9843 GB, free: 2.715 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.225e-05/1.035, allocations: 12.03 kB / 0.9843 GB, free: 2.703 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.663e-05/1.035, allocations: 42.56 kB / 0.9843 GB, free: 2.652 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002425/1.037, allocations: 434.9 kB / 0.9848 GB, free: 2.227 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005496/1.038, allocations: 302.7 kB / 0.9851 GB, free: 1.895 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001121/1.038, allocations: 67.62 kB / 0.9851 GB, free: 1.816 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.512e-05/1.038, allocations: 12 kB / 0.9851 GB, free: 1.805 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001184/1.039, allocations: 387.1 kB / 0.9855 GB, free: 1.422 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.096e-05/1.039, allocations: 0 / 0.9855 GB, free: 1.422 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.505e-05/1.039, allocations: 4 kB / 0.9855 GB, free: 1.418 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.394e-06/1.039, allocations: 4 kB / 0.9855 GB, free: 1.414 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001778/1.041, allocations: 0.5471 MB / 0.986 GB, free: 0.8672 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002474/1.043, allocations: 1.017 MB / 0.987 GB, free: 15.8 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009425/1.044, allocations: 298.3 kB / 0.9873 GB, free: 15.5 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 2.32e-05/1.044, allocations: 4 kB / 0.9873 GB, free: 15.49 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.193e-05/1.044, allocations: 34.5 kB / 0.9874 GB, free: 15.45 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=7): time 2.385e-06/1.044, allocations: 0 / 0.9874 GB, free: 15.45 MB / 0.7481 GB Notification: Performance of matching and sorting (n=7): time 0.002777/1.047, allocations: 0.8014 MB / 0.9881 GB, free: 14.64 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.866e-05/1.047, allocations: 51.41 kB / 0.9882 GB, free: 14.58 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004479/1.048, allocations: 294.7 kB / 0.9885 GB, free: 14.28 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 3.842e-05/1.048, allocations: 29.64 kB / 0.9885 GB, free: 14.25 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001398/1.048, allocations: 160 kB / 0.9886 GB, free: 14.09 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 4.706e-05/1.048, allocations: 23.89 kB / 0.9887 GB, free: 14.06 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.029e-05/1.048, allocations: 4 kB / 0.9887 GB, free: 14.06 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001512/1.048, allocations: 330.8 kB / 0.989 GB, free: 13.73 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008878/1.049, allocations: 263.8 kB / 0.9892 GB, free: 13.47 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008933/1.05, allocations: 263.8 kB / 0.9895 GB, free: 13.21 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008078/1.051, allocations: 223.7 kB / 0.9897 GB, free: 12.99 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.526e-06/1.051, allocations: 0 / 0.9897 GB, free: 12.99 MB / 0.7481 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.001863/1.053, allocations: 0.5477 MB / 0.9902 GB, free: 12.44 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.317e-05/1.053, allocations: 8 kB / 0.9902 GB, free: 12.43 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/1.053, allocations: 0 / 0.9902 GB, free: 12.43 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.707e-05/1.053, allocations: 0 / 0.9902 GB, free: 12.43 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005731/1.053, allocations: 95.83 kB / 0.9903 GB, free: 12.34 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.624e-06/1.053, allocations: 0 / 0.9903 GB, free: 12.34 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004563/1.054, allocations: 75.88 kB / 0.9904 GB, free: 12.26 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.923e-05/1.054, allocations: 11.98 kB / 0.9904 GB, free: 12.25 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.0002277/1.054, allocations: 145.8 kB / 0.9906 GB, free: 12.1 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.993e-05/1.054, allocations: 23.67 kB / 0.9906 GB, free: 12.07 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.677e-05/1.054, allocations: 25.7 kB / 0.9906 GB, free: 12.05 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.998e-06/1.054, allocations: 0 / 0.9906 GB, free: 12.05 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.173e-06/1.054, allocations: 0 / 0.9906 GB, free: 12.05 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/1.054, allocations: 0 / 0.9906 GB, free: 12.05 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006906/1.055, allocations: 432.5 kB / 0.991 GB, free: 11.58 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.428e-06/1.055, allocations: 3.953 kB / 0.991 GB, free: 11.57 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005147/1.056, allocations: 95.83 kB / 0.9911 GB, free: 11.48 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.775e-06/1.056, allocations: 4 kB / 0.9911 GB, free: 11.48 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.044e-05/1.056, allocations: 3.984 kB / 0.9911 GB, free: 11.47 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.368e-06/1.056, allocations: 3.984 kB / 0.9911 GB, free: 11.47 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/1.056, allocations: 0 / 0.9911 GB, free: 11.47 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001865/1.058, allocations: 0.6355 MB / 0.9918 GB, free: 10.82 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001107/1.058, allocations: 112.8 kB / 0.9919 GB, free: 10.69 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.181e-05/1.058, allocations: 3.938 kB / 0.9919 GB, free: 10.68 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005105/1.058, allocations: 71.88 kB / 0.9919 GB, free: 10.61 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.882e-05/1.058, allocations: 19.86 kB / 0.9919 GB, free: 10.59 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.439e-05/1.058, allocations: 11.98 kB / 0.992 GB, free: 10.58 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0003292/1.059, allocations: 217.9 kB / 0.9922 GB, free: 10.37 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2.31e-07/1.059, allocations: 0 / 0.9922 GB, free: 10.37 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0004962/1.059, allocations: 39.94 kB / 0.9922 GB, free: 10.33 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.002286/1.062, allocations: 1.189 MB / 0.9934 GB, free: 9.113 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.00187/1.063, allocations: 0.5385 MB / 0.9939 GB, free: 8.574 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/1.063, allocations: 0 / 0.9939 GB, free: 8.574 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0009158/1.064, allocations: 280 kB / 0.9942 GB, free: 8.301 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003/1.065, allocations: 12.72 kB / 0.9942 GB, free: 8.289 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006448/1.071, allocations: 2.494 MB / 0.9966 GB, free: 5.746 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004271/1.072, allocations: 0.7512 MB / 0.9973 GB, free: 4.969 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0003584/1.072, allocations: 61.41 kB / 0.9974 GB, free: 4.91 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000228/1.072, allocations: 79.39 kB / 0.9975 GB, free: 4.832 MB / 0.7481 GB Notification: Performance of SimCode: time 2.846e-06/1.072, allocations: 0 / 0.9975 GB, free: 4.832 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02337/1.096, allocations: 4.789 MB / 1.002 GB, free: 224 kB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002929/1.096, allocations: 209.8 kB / 1.002 GB, free: 15.98 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.983/4.079, allocations: 1.969 kB / 1.002 GB, free: 15.98 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