Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.43/1.43, allocations: 251.9 MB / 266.8 MB, free: 11.02 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001208/0.001208, allocations: 179.8 kB / 326.5 MB, free: 2.238 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.887/1.887, allocations: 205.4 MB / 0.5775 GB, free: 20.23 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001028/0.001028, allocations: 87.86 kB / 0.6821 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000381/0.000381, allocations: 12.94 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2849/0.2853, allocations: 106.4 MB / 0.9002 GB, free: 63.83 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss): time 0.002543/0.2879, allocations: 1.551 MB / 0.9017 GB, free: 62.27 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.003981/0.292, allocations: 3.034 MB / 0.9046 GB, free: 59.22 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001162/0.2921, allocations: 4 kB / 0.9046 GB, free: 59.21 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0002507/0.2924, allocations: 39.81 kB / 0.9047 GB, free: 59.18 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0004679/0.2929, allocations: 135.5 kB / 0.9048 GB, free: 59.04 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 7.172e-05/0.293, allocations: 11.98 kB / 0.9048 GB, free: 59.03 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0002009/0.2932, allocations: 119.7 kB / 0.9049 GB, free: 58.91 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001345/0.2933, allocations: 29.66 kB / 0.905 GB, free: 58.89 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002015/0.2935, allocations: 67.75 kB / 0.905 GB, free: 58.82 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001443/0.2937, allocations: 67.69 kB / 0.9051 GB, free: 58.75 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.555e-05/0.2937, allocations: 4 kB / 0.9051 GB, free: 58.75 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 8.654e-05/0.2938, allocations: 31.86 kB / 0.9051 GB, free: 58.72 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 4.875e-05/0.2939, allocations: 27.89 kB / 0.9051 GB, free: 58.69 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.535e-05/0.2939, allocations: 61.58 kB / 0.9052 GB, free: 58.62 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001712/0.2941, allocations: 112 kB / 0.9053 GB, free: 58.52 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.2941, allocations: 4 kB / 0.9053 GB, free: 58.51 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.084e-06/0.2941, allocations: 0 / 0.9053 GB, free: 58.51 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.079e-06/0.2942, allocations: 0 / 0.9053 GB, free: 58.51 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0009446/0.2951, allocations: 0.495 MB / 0.9058 GB, free: 57.97 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.917e-05/0.2952, allocations: 12.02 kB / 0.9058 GB, free: 57.96 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.74e-05/0.2952, allocations: 38.56 kB / 0.9058 GB, free: 57.91 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.694e-05/0.2953, allocations: 23.67 kB / 0.9059 GB, free: 57.89 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003804/0.2957, allocations: 233.7 kB / 0.9061 GB, free: 57.62 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.108e-05/0.2957, allocations: 8 kB / 0.9061 GB, free: 57.61 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.427e-05/0.2957, allocations: 8 kB / 0.9061 GB, free: 57.6 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004245/0.2962, allocations: 141.6 kB / 0.9062 GB, free: 57.46 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.788e-06/0.2962, allocations: 0 / 0.9062 GB, free: 57.46 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.049e-05/0.2962, allocations: 0 / 0.9062 GB, free: 57.46 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.36e-05/0.2963, allocations: 19.94 kB / 0.9063 GB, free: 57.44 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005583/0.2968, allocations: 159.9 kB / 0.9064 GB, free: 57.28 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008072/0.2976, allocations: 456.5 kB / 0.9069 GB, free: 56.79 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004984/0.2982, allocations: 182.4 kB / 0.907 GB, free: 56.6 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.488e-05/0.2982, allocations: 0 / 0.907 GB, free: 56.6 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.562e-05/0.2982, allocations: 50.5 kB / 0.9071 GB, free: 56.54 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=13): time 1.383e-06/0.2982, allocations: 3.938 kB / 0.9071 GB, free: 56.54 MB / 0.6042 GB Notification: Performance of matching and sorting (n=13): time 0.001074/0.2993, allocations: 314.3 kB / 0.9074 GB, free: 56.22 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.01e-05/0.2994, allocations: 51.41 kB / 0.9074 GB, free: 56.16 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000211/0.2996, allocations: 209 kB / 0.9076 GB, free: 55.95 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.878e-05/0.2996, allocations: 37.7 kB / 0.9077 GB, free: 55.9 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 6.423e-05/0.2997, allocations: 112.1 kB / 0.9078 GB, free: 55.79 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.679e-05/0.2998, allocations: 51.34 kB / 0.9078 GB, free: 55.74 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.265e-05/0.2998, allocations: 0 / 0.9078 GB, free: 55.74 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.512e-05/0.2998, allocations: 330.8 kB / 0.9081 GB, free: 55.41 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002903/0.3001, allocations: 84.19 kB / 0.9082 GB, free: 55.32 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002776/0.3004, allocations: 83.94 kB / 0.9083 GB, free: 55.24 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002895/0.3007, allocations: 88.81 kB / 0.9084 GB, free: 55.16 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.3008, allocations: 0 / 0.9084 GB, free: 55.16 MB / 0.6042 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0006605/0.3014, allocations: 235.2 kB / 0.9086 GB, free: 54.92 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.3014, allocations: 7.953 kB / 0.9086 GB, free: 54.91 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.3015, allocations: 0 / 0.9086 GB, free: 54.91 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.622e-05/0.3015, allocations: 4 kB / 0.9086 GB, free: 54.91 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000318/0.3018, allocations: 47.95 kB / 0.9087 GB, free: 54.86 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.494e-06/0.3018, allocations: 0 / 0.9087 GB, free: 54.86 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000215/0.3021, allocations: 27.83 kB / 0.9087 GB, free: 54.84 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.963e-05/0.3021, allocations: 4 kB / 0.9087 GB, free: 54.83 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.0001157/0.3022, allocations: 129.8 kB / 0.9088 GB, free: 54.7 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.773e-05/0.3023, allocations: 15.81 kB / 0.9088 GB, free: 54.68 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.054e-05/0.3024, allocations: 29.78 kB / 0.9089 GB, free: 54.64 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.959e-06/0.3024, allocations: 8 kB / 0.9089 GB, free: 54.64 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-06/0.3024, allocations: 0 / 0.9089 GB, free: 54.64 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.3024, allocations: 0 / 0.9089 GB, free: 54.64 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003332/0.3027, allocations: 265.4 kB / 0.9091 GB, free: 54.33 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.3028, allocations: 0 / 0.9091 GB, free: 54.33 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002819/0.303, allocations: 39.95 kB / 0.9092 GB, free: 54.29 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.048e-06/0.3031, allocations: 0 / 0.9092 GB, free: 54.29 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.984e-05/0.3031, allocations: 0 / 0.9092 GB, free: 54.29 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.491e-06/0.3031, allocations: 11.95 kB / 0.9092 GB, free: 54.28 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.3031, allocations: 3.938 kB / 0.9092 GB, free: 54.27 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006918/0.3038, allocations: 335.2 kB / 0.9095 GB, free: 53.93 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001084/0.3039, allocations: 112.8 kB / 0.9096 GB, free: 53.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.219e-05/0.304, allocations: 7.984 kB / 0.9096 GB, free: 53.79 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002624/0.3043, allocations: 19.97 kB / 0.9096 GB, free: 53.77 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.59e-05/0.3043, allocations: 19.94 kB / 0.9096 GB, free: 53.75 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.697e-05/0.3044, allocations: 4 kB / 0.9096 GB, free: 53.75 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001395/0.3045, allocations: 156.5 kB / 0.9098 GB, free: 53.6 MB / 0.6042 GB Notification: Performance of sort global known variables: time 5.21e-07/0.3045, allocations: 0 / 0.9098 GB, free: 53.6 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0004142/0.3049, allocations: 39.94 kB / 0.9098 GB, free: 53.56 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 13 * 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.0009632/0.3059, allocations: 0.8696 MB / 0.9107 GB, free: 52.66 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0006708/0.3066, allocations: 193.2 kB / 0.9109 GB, free: 52.48 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.3066, allocations: 0 / 0.9109 GB, free: 52.48 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0003137/0.3069, allocations: 99.88 kB / 0.911 GB, free: 52.38 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004183/0.3074, allocations: 31.38 kB / 0.911 GB, free: 52.35 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002606/0.31, allocations: 1.309 MB / 0.9123 GB, free: 50.99 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001818/0.3102, allocations: 0.7352 MB / 0.913 GB, free: 50.23 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0002603/0.3105, allocations: 48.59 kB / 0.913 GB, free: 50.18 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001416/0.3106, allocations: 51.42 kB / 0.9131 GB, free: 50.14 MB / 0.6042 GB Notification: Performance of SimCode: time 2.254e-06/0.3106, allocations: 112 / 0.9131 GB, free: 50.14 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01838/0.329, allocations: 3.501 MB / 0.9165 GB, free: 46.83 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002424/0.3293, allocations: 207.2 kB / 0.9167 GB, free: 46.59 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.724/2.053, allocations: 0 / 0.9167 GB, free: 46.59 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss.fmu > Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe 2>&1)