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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001771/0.001771, allocations: 111.3 kB / 15.34 MB, free: 0.5117 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.002375/0.002375, allocations: 186.1 kB / 16.25 MB, free: 6.141 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.318/2.318, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 6.197/6.197, allocations: 461.9 MB / 0.7343 GB, free: 14.9 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002336/0.002336, allocations: 69.8 kB / 0.8987 GB, free: 37.17 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5761/0.5785, allocations: 157.4 MB / 1.052 GB, free: 8.625 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate): time 0.0102/0.5887, allocations: 2.045 MB / 1.054 GB, free: 6.566 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002161/0.591, allocations: 0.674 MB / 1.055 GB, free: 5.887 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002148/0.5912, allocations: 0 / 1.055 GB, free: 5.887 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.000236/0.5915, allocations: 19.86 kB / 1.055 GB, free: 5.867 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001275/0.5917, allocations: 15.86 kB / 1.055 GB, free: 5.852 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005699/0.5922, allocations: 79.88 kB / 1.055 GB, free: 5.773 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0003262/0.5926, allocations: 151.6 kB / 1.055 GB, free: 5.625 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002838/0.5929, allocations: 80.61 kB / 1.055 GB, free: 5.539 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001667/0.593, allocations: 63.7 kB / 1.055 GB, free: 5.477 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001862/0.5932, allocations: 71.62 kB / 1.056 GB, free: 5.406 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 4.58e-05/0.5933, allocations: 12 kB / 1.056 GB, free: 5.395 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000224/0.5935, allocations: 63.89 kB / 1.056 GB, free: 5.332 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001576/0.5937, allocations: 71.75 kB / 1.056 GB, free: 5.262 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001625/0.5939, allocations: 95.39 kB / 1.056 GB, free: 5.168 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0007071/0.5946, allocations: 263.3 kB / 1.056 GB, free: 4.91 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 1.028e-05/0.5946, allocations: 0 / 1.056 GB, free: 4.91 MB / 0.8106 GB Notification: Performance of FrontEnd: time 4.068e-06/0.5946, allocations: 0 / 1.056 GB, free: 4.91 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.116e-05/0.5947, allocations: 0 / 1.056 GB, free: 4.91 MB / 0.8106 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.001414/0.5961, allocations: 0.5335 MB / 1.057 GB, free: 4.328 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 6.515e-05/0.5962, allocations: 8.625 kB / 1.057 GB, free: 4.32 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002079/0.5964, allocations: 46.73 kB / 1.057 GB, free: 4.266 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002289/0.5987, allocations: 427.9 kB / 1.057 GB, free: 3.848 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007036/0.5994, allocations: 311.7 kB / 1.057 GB, free: 3.508 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001321/0.5995, allocations: 68.19 kB / 1.057 GB, free: 3.43 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.717e-05/0.5996, allocations: 12.38 kB / 1.057 GB, free: 3.418 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001235/0.6008, allocations: 387.8 kB / 1.058 GB, free: 3.035 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.32e-05/0.6009, allocations: 0 / 1.058 GB, free: 3.035 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.827e-05/0.6009, allocations: 4 kB / 1.058 GB, free: 3.031 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.094e-05/0.6009, allocations: 4 kB / 1.058 GB, free: 3.027 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001747/0.6027, allocations: 0.5392 MB / 1.058 GB, free: 2.488 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0028/0.6055, allocations: 0.9978 MB / 1.059 GB, free: 1.438 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009705/0.6065, allocations: 294.2 kB / 1.06 GB, free: 1.141 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009892/0.6075, allocations: 272.6 kB / 1.06 GB, free: 0.8711 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 3.819e-05/0.6075, allocations: 4 kB / 1.06 GB, free: 0.8672 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.969e-05/0.6076, allocations: 38.55 kB / 1.06 GB, free: 0.8203 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=7): time 4.328e-06/0.6076, allocations: 0 / 1.06 GB, free: 0.8203 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7): time 0.002946/0.6106, allocations: 0.782 MB / 1.061 GB, free: 32 kB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.053e-05/0.6107, allocations: 67.28 kB / 1.061 GB, free: 15.95 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006031/0.6113, allocations: 294.7 kB / 1.061 GB, free: 15.66 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 4.116e-05/0.6114, allocations: 29.69 kB / 1.061 GB, free: 15.62 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001661/0.6115, allocations: 144.2 kB / 1.061 GB, free: 15.48 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001644/0.6117, allocations: 23.66 kB / 1.061 GB, free: 15.46 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001512/0.6119, allocations: 37.67 kB / 1.061 GB, free: 15.41 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0002049/0.6121, allocations: 338.8 kB / 1.061 GB, free: 15.07 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001066/0.6132, allocations: 255.8 kB / 1.062 GB, free: 14.82 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000855/0.614, allocations: 263.8 kB / 1.062 GB, free: 14.57 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001766/0.6158, allocations: 444.9 kB / 1.062 GB, free: 14.13 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.6158, allocations: 0 / 1.062 GB, free: 14.13 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.001977/0.6178, allocations: 0.5321 MB / 1.063 GB, free: 13.59 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 3.846e-05/0.6179, allocations: 4 kB / 1.063 GB, free: 13.59 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.056e-05/0.6179, allocations: 3.938 kB / 1.063 GB, free: 13.58 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.229e-05/0.6179, allocations: 0 / 1.063 GB, free: 13.58 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000565/0.6185, allocations: 95.83 kB / 1.063 GB, free: 13.49 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.35e-05/0.6185, allocations: 4 kB / 1.063 GB, free: 13.48 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005558/0.6191, allocations: 79.73 kB / 1.063 GB, free: 13.41 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.1e-05/0.6191, allocations: 7.984 kB / 1.063 GB, free: 13.4 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: 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002534/0.6194, allocations: 143.3 kB / 1.063 GB, free: 13.25 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.883e-05/0.6195, allocations: 19.72 kB / 1.063 GB, free: 13.23 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.901e-05/0.6196, allocations: 29.7 kB / 1.063 GB, free: 13.2 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.638e-06/0.6196, allocations: 0 / 1.063 GB, free: 13.2 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.107e-05/0.6196, allocations: 4 kB / 1.063 GB, free: 13.2 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.6196, allocations: 0 / 1.063 GB, free: 13.2 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009163/0.6205, allocations: 444.3 kB / 1.064 GB, free: 12.71 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.1e-06/0.6206, allocations: 0 / 1.064 GB, free: 12.71 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005093/0.6211, allocations: 87.83 kB / 1.064 GB, free: 12.63 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.772e-06/0.6211, allocations: 0 / 1.064 GB, free: 12.63 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.712e-05/0.6212, allocations: 19.97 kB / 1.064 GB, free: 12.61 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.847e-06/0.6212, allocations: 3.938 kB / 1.064 GB, free: 12.61 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.073e-06/0.6212, allocations: 0 / 1.064 GB, free: 12.61 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002083/0.6233, allocations: 0.6316 MB / 1.064 GB, free: 11.96 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001147/0.6234, allocations: 100.8 kB / 1.065 GB, free: 11.84 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.603e-05/0.6235, allocations: 7.938 kB / 1.065 GB, free: 11.83 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004822/0.624, allocations: 67.88 kB / 1.065 GB, free: 11.77 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001105/0.6241, allocations: 11.98 kB / 1.065 GB, free: 11.75 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.513e-05/0.6241, allocations: 7.984 kB / 1.065 GB, free: 11.75 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0003966/0.6246, allocations: 217.9 kB / 1.065 GB, free: 11.53 MB / 0.8262 GB Notification: Performance of sort global known variables: time 5.01e-07/0.6246, allocations: 0 / 1.065 GB, free: 11.53 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0005379/0.6251, allocations: 39.94 kB / 1.065 GB, free: 11.49 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: 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 (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.002682/0.6278, allocations: 1.176 MB / 1.066 GB, free: 10.29 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.002199/0.63, allocations: 0.5346 MB / 1.067 GB, free: 9.754 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 4.899e-06/0.63, allocations: 0 / 1.067 GB, free: 9.754 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0008829/0.6309, allocations: 271.7 kB / 1.067 GB, free: 9.488 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006313/0.6316, allocations: 20.55 kB / 1.067 GB, free: 9.469 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01122/0.6428, allocations: 3.936 MB / 1.071 GB, free: 5.445 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000703/0.6436, allocations: 0.7474 MB / 1.071 GB, free: 4.672 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0004331/0.6441, allocations: 61.41 kB / 1.071 GB, free: 4.613 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002827/0.6444, allocations: 75.39 kB / 1.072 GB, free: 4.539 MB / 0.8262 GB Notification: Performance of SimCode: time 1.473e-06/0.6444, allocations: 0 / 1.072 GB, free: 4.539 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.383/1.027, allocations: 4.866 MB / 1.076 GB, free: 15.84 MB / 0.8419 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004089/1.028, allocations: 236.4 kB / 1.077 GB, free: 15.58 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.827/5.855, allocations: 0 / 1.077 GB, free: 15.58 MB / 0.8419 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/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)