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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.001164/0.001164, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001387/0.001387, allocations: 193.7 kB / 16.14 MB, free: 6.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.145/1.145, allocations: 222.9 MB / 239.8 MB, free: 4.574 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.259/2.259, allocations: 461.8 MB / 0.7342 GB, free: 14.15 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001161/0.001161, allocations: 63.41 kB / 0.8985 GB, free: 37.03 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2101/0.2112, allocations: 157.4 MB / 1.052 GB, free: 8.188 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate): time 0.002713/0.214, allocations: 2.051 MB / 1.054 GB, free: 6.117 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001006/0.215, allocations: 0.6858 MB / 1.055 GB, free: 5.426 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.427e-05/0.2151, allocations: 4 kB / 1.055 GB, free: 5.422 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001106/0.2152, allocations: 11.86 kB / 1.055 GB, free: 5.41 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 7.145e-05/0.2153, allocations: 15.86 kB / 1.055 GB, free: 5.395 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002378/0.2156, allocations: 79.88 kB / 1.055 GB, free: 5.316 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.000142/0.2157, allocations: 139.6 kB / 1.055 GB, free: 5.18 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001389/0.2159, allocations: 76.59 kB / 1.055 GB, free: 5.105 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 9.114e-05/0.216, allocations: 59.72 kB / 1.055 GB, free: 5.047 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 9.654e-05/0.2161, allocations: 71.61 kB / 1.055 GB, free: 4.977 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.465e-05/0.2161, allocations: 8 kB / 1.055 GB, free: 4.969 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001336/0.2162, allocations: 59.89 kB / 1.055 GB, free: 4.91 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 7.372e-05/0.2163, allocations: 55.81 kB / 1.055 GB, free: 4.855 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 7.211e-05/0.2164, allocations: 91.34 kB / 1.056 GB, free: 4.766 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002334/0.2166, allocations: 251.4 kB / 1.056 GB, free: 4.52 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 2.846e-06/0.2166, allocations: 0 / 1.056 GB, free: 4.52 MB / 0.8106 GB Notification: Performance of FrontEnd: time 6.62e-07/0.2166, allocations: 0 / 1.056 GB, free: 4.52 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.759e-06/0.2166, allocations: 0 / 1.056 GB, free: 4.52 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.000669/0.2173, allocations: 0.5375 MB / 1.056 GB, free: 3.934 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.342e-05/0.2174, allocations: 11.97 kB / 1.056 GB, free: 3.922 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.116e-05/0.2174, allocations: 46.73 kB / 1.056 GB, free: 3.867 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001586/0.219, allocations: 423.9 kB / 1.057 GB, free: 3.453 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003357/0.2193, allocations: 311.7 kB / 1.057 GB, free: 3.113 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.224e-05/0.2194, allocations: 72.17 kB / 1.057 GB, free: 3.031 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.651e-05/0.2195, allocations: 8.375 kB / 1.057 GB, free: 3.023 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007518/0.2202, allocations: 383.1 kB / 1.057 GB, free: 2.645 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.185e-06/0.2202, allocations: 7.938 kB / 1.058 GB, free: 2.637 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.172e-05/0.2203, allocations: 4 kB / 1.058 GB, free: 2.633 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.13e-06/0.2203, allocations: 4 kB / 1.058 GB, free: 2.629 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001134/0.2214, allocations: 0.5392 MB / 1.058 GB, free: 2.09 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00145/0.2229, allocations: 0.9861 MB / 1.059 GB, free: 1.051 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006112/0.2235, allocations: 302.2 kB / 1.059 GB, free: 0.7461 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005527/0.2241, allocations: 268.6 kB / 1.06 GB, free: 492 kB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.631e-05/0.2241, allocations: 7.938 kB / 1.06 GB, free: 484 kB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.884e-05/0.2241, allocations: 38.55 kB / 1.06 GB, free: 436 kB / 0.8106 GB Notification: Performance of pre-optimization done (n=7): time 1.212e-06/0.2241, allocations: 0 / 1.06 GB, free: 436 kB / 0.8106 GB Notification: Performance of matching and sorting (n=7): time 0.00174/0.2259, allocations: 0.7819 MB / 1.06 GB, free: 15.64 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.213e-05/0.2259, allocations: 63.34 kB / 1.06 GB, free: 15.56 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002541/0.2262, allocations: 294.7 kB / 1.061 GB, free: 15.27 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.358e-05/0.2262, allocations: 25.7 kB / 1.061 GB, free: 15.24 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 8.24e-05/0.2263, allocations: 156.3 kB / 1.061 GB, free: 15.08 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.156e-05/0.2263, allocations: 23.64 kB / 1.061 GB, free: 15.06 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.803e-05/0.2264, allocations: 41.67 kB / 1.061 GB, free: 15.01 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.766e-05/0.2265, allocations: 330.8 kB / 1.061 GB, free: 14.68 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005462/0.2271, allocations: 263.7 kB / 1.061 GB, free: 14.42 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005213/0.2276, allocations: 255.8 kB / 1.062 GB, free: 14.17 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000945/0.2285, allocations: 440.4 kB / 1.062 GB, free: 13.74 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.2285, allocations: 0 / 1.062 GB, free: 13.74 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.001101/0.2297, allocations: 0.536 MB / 1.063 GB, free: 13.2 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.285e-05/0.2297, allocations: 11.98 kB / 1.063 GB, free: 13.18 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/0.2297, allocations: 0 / 1.063 GB, free: 13.18 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.147e-06/0.2297, allocations: 0 / 1.063 GB, free: 13.18 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003578/0.2301, allocations: 91.83 kB / 1.063 GB, free: 13.09 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.619e-06/0.2301, allocations: 0 / 1.063 GB, free: 13.09 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000284/0.2304, allocations: 75.81 kB / 1.063 GB, free: 13.02 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.314e-05/0.2304, allocations: 8.531 kB / 1.063 GB, free: 13.01 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.0001218/0.2305, allocations: 145.8 kB / 1.063 GB, free: 12.86 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.269e-05/0.2306, allocations: 23.72 kB / 1.063 GB, free: 12.84 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.63e-05/0.2306, allocations: 25.7 kB / 1.063 GB, free: 12.81 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.2306, allocations: 4 kB / 1.063 GB, free: 12.81 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.2306, allocations: 0 / 1.063 GB, free: 12.81 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.913e-06/0.2306, allocations: 0 / 1.063 GB, free: 12.81 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003919/0.231, allocations: 440.3 kB / 1.063 GB, free: 12.33 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.231, allocations: 0 / 1.063 GB, free: 12.33 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003422/0.2314, allocations: 91.77 kB / 1.064 GB, free: 12.24 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.2314, allocations: 0 / 1.064 GB, free: 12.24 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.439e-05/0.2314, allocations: 11.98 kB / 1.064 GB, free: 12.23 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.183e-06/0.2314, allocations: 3.938 kB / 1.064 GB, free: 12.22 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.2314, allocations: 3.984 kB / 1.064 GB, free: 12.22 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001159/0.2326, allocations: 0.6315 MB / 1.064 GB, free: 11.57 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.525e-05/0.2327, allocations: 96.83 kB / 1.064 GB, free: 11.46 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.513e-05/0.2327, allocations: 3.984 kB / 1.064 GB, free: 11.45 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003144/0.233, allocations: 75.88 kB / 1.064 GB, free: 11.38 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.766e-05/0.2331, allocations: 7.984 kB / 1.064 GB, free: 11.37 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.116e-05/0.2331, allocations: 7.984 kB / 1.064 GB, free: 11.36 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001776/0.2333, allocations: 217.9 kB / 1.065 GB, free: 11.15 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1e-07/0.2333, allocations: 0 / 1.065 GB, free: 11.15 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002661/0.2336, allocations: 39.94 kB / 1.065 GB, free: 11.11 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.001374/0.2349, allocations: 1.18 MB / 1.066 GB, free: 9.902 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0011/0.2361, allocations: 0.5268 MB / 1.066 GB, free: 9.375 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.2361, allocations: 3.938 kB / 1.066 GB, free: 9.371 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.000553/0.2366, allocations: 275.7 kB / 1.067 GB, free: 9.102 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002514/0.2369, allocations: 12.56 kB / 1.067 GB, free: 9.09 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005174/0.2421, allocations: 3.946 MB / 1.07 GB, free: 5.055 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002335/0.2423, allocations: 0.7477 MB / 1.071 GB, free: 4.281 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001858/0.2425, allocations: 57.42 kB / 1.071 GB, free: 4.227 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001469/0.2427, allocations: 79.38 kB / 1.071 GB, free: 4.148 MB / 0.8262 GB Notification: Performance of SimCode: time 2e-07/0.2427, allocations: 0 / 1.071 GB, free: 4.148 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8582/1.101, allocations: 4.752 MB / 1.076 GB, free: 15.55 MB / 0.8419 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002067/1.101, allocations: 240.5 kB / 1.076 GB, free: 15.29 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.715/2.817, allocations: 0 / 1.076 GB, free: 15.29 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)