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.536/1.536, allocations: 252 MB / 267.3 MB, free: 10.86 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.0009887/0.0009888, allocations: 175.4 kB / 327 MB, free: 2.094 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.733/1.733, allocations: 205.4 MB / 0.578 GB, free: 20.41 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.0008885/0.0008885, allocations: 81.19 kB / 0.6826 GB, free: 13.21 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004875/0.0004879, allocations: 12.92 kB / 0.7971 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2829/0.2834, allocations: 106.3 MB / 0.9009 GB, free: 63.71 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss): time 0.001951/0.2855, allocations: 1.631 MB / 0.9025 GB, free: 62.06 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.003081/0.2886, allocations: 3.375 MB / 0.9058 GB, free: 58.67 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.782e-05/0.2886, allocations: 4 kB / 0.9058 GB, free: 58.66 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0002316/0.2889, allocations: 48.03 kB / 0.9059 GB, free: 58.62 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0003676/0.2893, allocations: 119.4 kB / 0.906 GB, free: 58.5 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 6.309e-05/0.2893, allocations: 27.92 kB / 0.906 GB, free: 58.47 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001813/0.2895, allocations: 179.2 kB / 0.9062 GB, free: 58.3 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001017/0.2896, allocations: 33.66 kB / 0.9062 GB, free: 58.27 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000186/0.2898, allocations: 71.64 kB / 0.9063 GB, free: 58.2 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001531/0.29, allocations: 83.61 kB / 0.9063 GB, free: 58.11 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.479e-05/0.29, allocations: 7.938 kB / 0.9064 GB, free: 58.11 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 7.77e-05/0.2901, allocations: 27.92 kB / 0.9064 GB, free: 58.08 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 6.304e-05/0.2902, allocations: 35.84 kB / 0.9064 GB, free: 58.04 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 7.148e-05/0.2903, allocations: 93.23 kB / 0.9065 GB, free: 57.95 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001648/0.2904, allocations: 167.3 kB / 0.9067 GB, free: 57.78 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.2904, allocations: 0 / 0.9067 GB, free: 57.78 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.684e-06/0.2905, allocations: 0 / 0.9067 GB, free: 57.78 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.67e-06/0.2905, allocations: 0 / 0.9067 GB, free: 57.78 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.0007265/0.2912, allocations: 498.6 kB / 0.9071 GB, free: 57.25 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.197e-05/0.2912, allocations: 12.03 kB / 0.9072 GB, free: 57.23 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.299e-05/0.2913, allocations: 34.75 kB / 0.9072 GB, free: 57.19 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.005e-05/0.2913, allocations: 24.66 kB / 0.9072 GB, free: 57.17 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002899/0.2916, allocations: 246.8 kB / 0.9074 GB, free: 56.89 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.281e-05/0.2917, allocations: 8.375 kB / 0.9075 GB, free: 56.88 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.856e-05/0.2917, allocations: 4.375 kB / 0.9075 GB, free: 56.88 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000323/0.292, allocations: 153.4 kB / 0.9076 GB, free: 56.72 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.426e-06/0.292, allocations: 4 kB / 0.9076 GB, free: 56.71 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.401e-05/0.2921, allocations: 0 / 0.9076 GB, free: 56.71 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.637e-05/0.2921, allocations: 15.98 kB / 0.9076 GB, free: 56.7 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003977/0.2925, allocations: 159.8 kB / 0.9078 GB, free: 56.54 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005843/0.2931, allocations: 464.5 kB / 0.9082 GB, free: 56.04 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003658/0.2935, allocations: 178.5 kB / 0.9084 GB, free: 55.86 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002352/0.2937, allocations: 116.8 kB / 0.9085 GB, free: 55.74 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.431e-05/0.2937, allocations: 11.92 kB / 0.9085 GB, free: 55.73 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.043e-05/0.2938, allocations: 34.56 kB / 0.9085 GB, free: 55.68 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=13): time 1.112e-06/0.2938, allocations: 0 / 0.9085 GB, free: 55.68 MB / 0.6042 GB Notification: Performance of matching and sorting (n=13): time 0.0007549/0.2945, allocations: 320.4 kB / 0.9088 GB, free: 55.37 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.328e-05/0.2946, allocations: 55.41 kB / 0.9089 GB, free: 55.3 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001605/0.2947, allocations: 213 kB / 0.9091 GB, free: 55.08 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.535e-05/0.2948, allocations: 29.7 kB / 0.9091 GB, free: 55.05 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 5.178e-05/0.2948, allocations: 120.1 kB / 0.9092 GB, free: 54.93 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.442e-05/0.2949, allocations: 47.31 kB / 0.9093 GB, free: 54.88 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.046e-05/0.2949, allocations: 0 / 0.9093 GB, free: 54.88 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.248e-05/0.2949, allocations: 334.8 kB / 0.9096 GB, free: 54.54 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002086/0.2952, allocations: 79.94 kB / 0.9097 GB, free: 54.46 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001965/0.2954, allocations: 91.86 kB / 0.9098 GB, free: 54.38 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004065/0.2958, allocations: 176.8 kB / 0.9099 GB, free: 54.2 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.2958, allocations: 0 / 0.9099 GB, free: 54.2 MB / 0.6042 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004642/0.2963, allocations: 237.4 kB / 0.9102 GB, free: 53.96 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.707e-05/0.2963, allocations: 4 kB / 0.9102 GB, free: 53.96 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.2963, allocations: 0 / 0.9102 GB, free: 53.96 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.241e-05/0.2963, allocations: 0 / 0.9102 GB, free: 53.96 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002417/0.2966, allocations: 51.83 kB / 0.9102 GB, free: 53.91 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.17e-06/0.2966, allocations: 0 / 0.9102 GB, free: 53.91 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001551/0.2967, allocations: 19.89 kB / 0.9102 GB, free: 53.89 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.718e-05/0.2968, allocations: 11.94 kB / 0.9103 GB, free: 53.88 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.569e-05/0.2968, allocations: 133.8 kB / 0.9104 GB, free: 53.73 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.654e-05/0.2969, allocations: 15.81 kB / 0.9104 GB, free: 53.72 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.816e-05/0.2969, allocations: 29.83 kB / 0.9104 GB, free: 53.68 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.945e-06/0.2969, allocations: 0 / 0.9104 GB, free: 53.68 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.297, allocations: 0 / 0.9104 GB, free: 53.68 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.297, allocations: 0 / 0.9104 GB, free: 53.68 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000223/0.2972, allocations: 273.3 kB / 0.9107 GB, free: 53.37 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.2972, allocations: 0 / 0.9107 GB, free: 53.37 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002126/0.2974, allocations: 47.89 kB / 0.9107 GB, free: 53.32 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.2974, allocations: 0 / 0.9107 GB, free: 53.32 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.497e-05/0.2975, allocations: 4 kB / 0.9107 GB, free: 53.32 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.2975, allocations: 0 / 0.9107 GB, free: 53.32 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.2975, allocations: 0 / 0.9107 GB, free: 53.32 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005271/0.298, allocations: 336.8 kB / 0.9111 GB, free: 52.97 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 6.604e-05/0.2981, allocations: 104.8 kB / 0.9112 GB, free: 52.85 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.08e-05/0.2981, allocations: 8 kB / 0.9112 GB, free: 52.84 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001831/0.2983, allocations: 23.97 kB / 0.9112 GB, free: 52.82 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.948e-05/0.2984, allocations: 11.98 kB / 0.9112 GB, free: 52.81 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.193e-05/0.2984, allocations: 4 kB / 0.9112 GB, free: 52.8 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001003/0.2985, allocations: 164.4 kB / 0.9114 GB, free: 52.64 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2985, allocations: 0 / 0.9114 GB, free: 52.64 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002452/0.2987, allocations: 36 kB / 0.9114 GB, free: 52.61 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 (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.0007153/0.2995, allocations: 0.8691 MB / 0.9122 GB, free: 51.71 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0004646/0.2999, allocations: 192.7 kB / 0.9124 GB, free: 51.53 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.3, allocations: 0 / 0.9124 GB, free: 51.53 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002214/0.3002, allocations: 99.88 kB / 0.9125 GB, free: 51.43 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003893/0.3006, allocations: 33.86 kB / 0.9126 GB, free: 51.4 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00261/0.3032, allocations: 2.441 MB / 0.9149 GB, free: 48.88 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000158/0.3034, allocations: 0.7313 MB / 0.9157 GB, free: 48.12 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001705/0.3036, allocations: 48.59 kB / 0.9157 GB, free: 48.07 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.707e-05/0.3037, allocations: 59.41 kB / 0.9158 GB, free: 48.02 MB / 0.6042 GB Notification: Performance of SimCode: time 4.71e-07/0.3037, allocations: 0 / 0.9158 GB, free: 48.02 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01342/0.3171, allocations: 3.513 MB / 0.9192 GB, free: 44.7 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000176/0.3173, allocations: 245.3 kB / 0.9194 GB, free: 44.43 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.97/2.287, allocations: 0 / 0.9194 GB, free: 44.43 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)