Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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_9_Buildings_Fluid_Storage_Ice_BaseClasses_Examples_NormalizedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate,fileNamePrefix="Buildings_9_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.007389/0.007389, allocations: 104.4 kB / 15.74 MB, free: 6.441 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.001909/0.001909, allocations: 190.2 kB / 16.67 MB, free: 6.355 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.347/1.347, allocations: 222.9 MB / 240.4 MB, free: 4.273 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.265/2.265, allocations: 390.2 MB / 0.6648 GB, free: 152 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001187/0.001187, allocations: 66.64 kB / 0.9504 GB, free: 5.961 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2221/0.2233, allocations: 140.4 MB / 1.087 GB, free: 1.988 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate): time 0.002775/0.2261, allocations: 1.985 MB / 1.089 GB, free: 15.98 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001061/0.2272, allocations: 0.6865 MB / 1.09 GB, free: 15.29 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.051e-05/0.2273, allocations: 4 kB / 1.09 GB, free: 15.28 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001155/0.2274, allocations: 23.73 kB / 1.09 GB, free: 15.26 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 8.556e-05/0.2275, allocations: 23.78 kB / 1.09 GB, free: 15.23 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002974/0.2278, allocations: 83.78 kB / 1.09 GB, free: 15.15 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001624/0.228, allocations: 155.6 kB / 1.09 GB, free: 15 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001552/0.2281, allocations: 84.59 kB / 1.09 GB, free: 14.92 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 9.53e-05/0.2282, allocations: 59.72 kB / 1.091 GB, free: 14.86 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001001/0.2284, allocations: 71.64 kB / 1.091 GB, free: 14.79 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.623e-05/0.2284, allocations: 16 kB / 1.091 GB, free: 14.77 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001317/0.2285, allocations: 67.94 kB / 1.091 GB, free: 14.71 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 8.509e-05/0.2286, allocations: 67.75 kB / 1.091 GB, free: 14.64 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 7.586e-05/0.2287, allocations: 91.34 kB / 1.091 GB, free: 14.55 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002708/0.229, allocations: 278.6 kB / 1.091 GB, free: 14.28 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.229, allocations: 0 / 1.091 GB, free: 14.28 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.072e-06/0.229, allocations: 0 / 1.091 GB, free: 14.28 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.869e-06/0.229, allocations: 0 / 1.091 GB, free: 14.28 MB / 0.8575 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.0007148/0.2297, allocations: 0.5336 MB / 1.092 GB, free: 13.7 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.194e-05/0.2298, allocations: 8.031 kB / 1.092 GB, free: 13.69 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.315e-05/0.2298, allocations: 46.73 kB / 1.092 GB, free: 13.64 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001778/0.2316, allocations: 419.9 kB / 1.092 GB, free: 13.23 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003881/0.232, allocations: 315.7 kB / 1.092 GB, free: 12.88 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.902e-05/0.2321, allocations: 68.19 kB / 1.092 GB, free: 12.8 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.551e-05/0.2321, allocations: 12.38 kB / 1.092 GB, free: 12.79 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008163/0.233, allocations: 387.1 kB / 1.093 GB, free: 12.41 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.233, allocations: 3.938 kB / 1.093 GB, free: 12.4 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.617e-05/0.233, allocations: 4 kB / 1.093 GB, free: 12.4 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.641e-06/0.233, allocations: 4 kB / 1.093 GB, free: 12.39 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001373/0.2344, allocations: 0.5392 MB / 1.093 GB, free: 11.86 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001566/0.236, allocations: 0.9936 MB / 1.094 GB, free: 10.81 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006564/0.2366, allocations: 290.3 kB / 1.095 GB, free: 10.52 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006079/0.2373, allocations: 276.6 kB / 1.095 GB, free: 10.24 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.641e-05/0.2373, allocations: 0 / 1.095 GB, free: 10.24 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.213e-05/0.2373, allocations: 42.5 kB / 1.095 GB, free: 10.19 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 1.102e-06/0.2373, allocations: 0 / 1.095 GB, free: 10.19 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.001972/0.2393, allocations: 0.778 MB / 1.096 GB, free: 9.406 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.964e-05/0.2393, allocations: 55.41 kB / 1.096 GB, free: 9.34 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002796/0.2396, allocations: 302.7 kB / 1.096 GB, free: 9.039 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.567e-05/0.2397, allocations: 25.7 kB / 1.096 GB, free: 9.008 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 8.941e-05/0.2398, allocations: 152.3 kB / 1.096 GB, free: 8.855 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.475e-05/0.2398, allocations: 23.7 kB / 1.096 GB, free: 8.832 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.221e-05/0.2399, allocations: 29.69 kB / 1.096 GB, free: 8.797 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001004/0.24, allocations: 346.7 kB / 1.097 GB, free: 8.449 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005994/0.2406, allocations: 255.8 kB / 1.097 GB, free: 8.199 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005892/0.2412, allocations: 263.7 kB / 1.097 GB, free: 7.941 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001082/0.2423, allocations: 440.4 kB / 1.097 GB, free: 7.508 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.2423, allocations: 0 / 1.097 GB, free: 7.508 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.00124/0.2435, allocations: 0.5282 MB / 1.098 GB, free: 6.973 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.278e-05/0.2436, allocations: 4 kB / 1.098 GB, free: 6.969 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.067e-06/0.2436, allocations: 4 kB / 1.098 GB, free: 6.965 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.214e-05/0.2436, allocations: 0 / 1.098 GB, free: 6.965 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004018/0.244, allocations: 95.83 kB / 1.098 GB, free: 6.871 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.244, allocations: 0.5469 kB / 1.098 GB, free: 6.871 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003135/0.2443, allocations: 79.8 kB / 1.098 GB, free: 6.793 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.554e-05/0.2444, allocations: 7.984 kB / 1.098 GB, free: 6.785 MB / 0.8575 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.0001416/0.2445, allocations: 149.7 kB / 1.098 GB, free: 6.629 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.938e-05/0.2446, allocations: 19.72 kB / 1.098 GB, free: 6.609 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.117e-05/0.2446, allocations: 25.7 kB / 1.098 GB, free: 6.586 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.2446, allocations: 0 / 1.098 GB, free: 6.586 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.2447, allocations: 4 kB / 1.098 GB, free: 6.582 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.2447, allocations: 7.984 kB / 1.098 GB, free: 6.574 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004463/0.2451, allocations: 436.4 kB / 1.099 GB, free: 6.098 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.2451, allocations: 4 kB / 1.099 GB, free: 6.094 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003771/0.2455, allocations: 87.83 kB / 1.099 GB, free: 6.008 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.2455, allocations: 0 / 1.099 GB, free: 6.008 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.612e-05/0.2455, allocations: 15.98 kB / 1.099 GB, free: 5.992 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.2456, allocations: 0 / 1.099 GB, free: 5.992 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.2456, allocations: 3.938 kB / 1.099 GB, free: 5.988 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001348/0.2469, allocations: 0.6354 MB / 1.099 GB, free: 5.336 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 7.115e-05/0.247, allocations: 100.8 kB / 1.1 GB, free: 5.219 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.46e-05/0.247, allocations: 0 / 1.1 GB, free: 5.219 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003473/0.2474, allocations: 75.86 kB / 1.1 GB, free: 5.145 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.559e-05/0.2474, allocations: 11.98 kB / 1.1 GB, free: 5.133 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.366e-05/0.2475, allocations: 7.984 kB / 1.1 GB, free: 5.125 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0002139/0.2477, allocations: 217.9 kB / 1.1 GB, free: 4.91 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.442e-06/0.2477, allocations: 0 / 1.1 GB, free: 4.91 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003348/0.248, allocations: 39.88 kB / 1.1 GB, free: 4.871 MB / 0.8575 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.00162/0.2497, allocations: 1.185 MB / 1.101 GB, free: 3.66 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.001255/0.2509, allocations: 0.5229 MB / 1.102 GB, free: 3.137 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.251, allocations: 0 / 1.102 GB, free: 3.137 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0006257/0.2516, allocations: 275.7 kB / 1.102 GB, free: 2.867 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002923/0.2519, allocations: 16.5 kB / 1.102 GB, free: 2.852 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005882/0.2578, allocations: 3.885 MB / 1.106 GB, free: 14.89 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002772/0.2581, allocations: 0.7513 MB / 1.106 GB, free: 14.11 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0002042/0.2583, allocations: 57.42 kB / 1.106 GB, free: 14.05 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001594/0.2585, allocations: 83.38 kB / 1.107 GB, free: 13.97 MB / 0.8731 GB Notification: Performance of SimCode: time 3.71e-07/0.2585, allocations: 0 / 1.107 GB, free: 13.97 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4134/0.6718, allocations: 5.053 MB / 1.111 GB, free: 9.059 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.321/9.993, allocations: 25.31 kB / 1.111 GB, free: 9.039 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.pipe ; mkfifo Buildings_9_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.pipe >> ../files/Buildings_9_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Storage_Ice_BaseClasses_Examples_NormalizedHeatFlowRate_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Storage_Ice_BaseClasses_Examples_NormalizedHeatFlowRate.fmu > Buildings_9_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.pipe 2>&1)