Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.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.ThermalZones.Detailed.BaseClasses.Examples.HeatGain,fileNamePrefix="Buildings_maint_7_0_x_Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain,fileNamePrefix="Buildings_maint_7_0_x_Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain",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.533/1.533, allocations: 251.9 MB / 266.9 MB, free: 11 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.001185/0.001185, allocations: 187.3 kB / 326.5 MB, free: 2.227 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.262/2.262, allocations: 205.4 MB / 0.5775 GB, free: 20.31 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.001538/0.001538, allocations: 96.08 kB / 0.6821 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003868/0.0003869, allocations: 9.938 kB / 0.7963 GB, free: 135.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2864/0.2868, allocations: 106.3 MB / 0.9001 GB, free: 63.83 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain): time 0.001805/0.2886, allocations: 1.242 MB / 0.9014 GB, free: 62.57 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0001246/0.2888, allocations: 31.86 kB / 0.9014 GB, free: 62.54 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.219e-05/0.2889, allocations: 0 / 0.9014 GB, free: 62.54 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001578/0.289, allocations: 11.94 kB / 0.9014 GB, free: 62.53 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 2.581e-05/0.2891, allocations: 7.969 kB / 0.9014 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001236/0.2892, allocations: 15.98 kB / 0.9014 GB, free: 62.51 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 8.424e-05/0.2893, allocations: 31.91 kB / 0.9015 GB, free: 62.48 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001481/0.2895, allocations: 23.98 kB / 0.9015 GB, free: 62.45 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 3.917e-05/0.2895, allocations: 23.91 kB / 0.9015 GB, free: 62.43 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 8.415e-05/0.2896, allocations: 15.92 kB / 0.9015 GB, free: 62.41 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.504e-05/0.2896, allocations: 0 / 0.9015 GB, free: 62.41 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.046e-05/0.2896, allocations: 0 / 0.9015 GB, free: 62.41 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 4.339e-05/0.2897, allocations: 19.92 kB / 0.9015 GB, free: 62.39 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.417e-05/0.2897, allocations: 37.64 kB / 0.9016 GB, free: 62.35 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 7.706e-05/0.2898, allocations: 27.94 kB / 0.9016 GB, free: 62.32 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.2898, allocations: 4 kB / 0.9016 GB, free: 62.32 MB / 0.6042 GB Notification: Performance of FrontEnd: time 3.667e-06/0.2898, allocations: 3.984 kB / 0.9016 GB, free: 62.32 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.382e-06/0.2898, allocations: 4 kB / 0.9016 GB, free: 62.31 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0004065/0.2902, allocations: 347.5 kB / 0.9019 GB, free: 61.93 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.661e-05/0.2903, allocations: 8.031 kB / 0.902 GB, free: 61.92 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.527e-05/0.2904, allocations: 46.48 kB / 0.902 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.061e-05/0.2904, allocations: 11.86 kB / 0.902 GB, free: 61.85 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001793/0.2906, allocations: 179 kB / 0.9022 GB, free: 61.64 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.229e-05/0.2906, allocations: 4 kB / 0.9022 GB, free: 61.63 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.195e-05/0.2906, allocations: 4 kB / 0.9022 GB, free: 61.63 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001556/0.2908, allocations: 113.4 kB / 0.9023 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.108e-05/0.2908, allocations: 0 / 0.9023 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.02e-05/0.2908, allocations: 0 / 0.9023 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/0.2908, allocations: 7.938 kB / 0.9023 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.848e-05/0.2909, allocations: 39.97 kB / 0.9023 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000496/0.2914, allocations: 0.6478 MB / 0.903 GB, free: 60.75 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 5.805e-05/0.2915, allocations: 169.1 kB / 0.9031 GB, free: 60.57 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.445e-05/0.2915, allocations: 75.28 kB / 0.9032 GB, free: 60.5 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.866e-05/0.2915, allocations: 109.8 kB / 0.9033 GB, free: 60.38 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=0): time 1.162e-06/0.2915, allocations: 3.938 kB / 0.9033 GB, free: 60.38 MB / 0.6042 GB Notification: Performance of matching and sorting (n=0): time 7.2e-05/0.2916, allocations: 37.55 kB / 0.9033 GB, free: 60.34 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.236e-05/0.2917, allocations: 126.7 kB / 0.9035 GB, free: 60.2 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000139/0.2918, allocations: 168.4 kB / 0.9036 GB, free: 60.03 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 7.534e-06/0.2918, allocations: 25.7 kB / 0.9037 GB, free: 60 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 5.247e-05/0.2919, allocations: 108 kB / 0.9038 GB, free: 59.89 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.816e-06/0.2919, allocations: 4 kB / 0.9038 GB, free: 59.88 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.986e-06/0.2919, allocations: 0 / 0.9038 GB, free: 59.88 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.584e-05/0.292, allocations: 326.8 kB / 0.9041 GB, free: 59.55 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.398e-05/0.292, allocations: 4 kB / 0.9041 GB, free: 59.55 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.946e-05/0.292, allocations: 26.56 kB / 0.9041 GB, free: 59.52 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.296e-05/0.2921, allocations: 4 kB / 0.9041 GB, free: 59.51 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.2921, allocations: 4 kB / 0.9041 GB, free: 59.51 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001086/0.2922, allocations: 61.53 kB / 0.9042 GB, free: 59.44 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.328e-05/0.2922, allocations: 4 kB / 0.9042 GB, free: 59.44 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.653e-06/0.2922, allocations: 0 / 0.9042 GB, free: 59.44 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.699e-05/0.2922, allocations: 4 kB / 0.9042 GB, free: 59.43 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.721e-05/0.2923, allocations: 11.94 kB / 0.9042 GB, free: 59.42 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.823e-06/0.2923, allocations: 0 / 0.9042 GB, free: 59.42 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.194e-05/0.2924, allocations: 7.906 kB / 0.9042 GB, free: 59.41 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.348e-06/0.2924, allocations: 0 / 0.9042 GB, free: 59.41 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (3): * Single equations (assignments): 3 * 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 7.951e-05/0.2924, allocations: 206.1 kB / 0.9044 GB, free: 59.2 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.263e-05/0.2925, allocations: 108.9 kB / 0.9045 GB, free: 59.09 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.691e-05/0.2925, allocations: 116.8 kB / 0.9046 GB, free: 58.97 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.608e-05/0.2926, allocations: 180.3 kB / 0.9048 GB, free: 58.79 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.956e-05/0.2926, allocations: 181.1 kB / 0.905 GB, free: 58.6 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.93e-05/0.2927, allocations: 184.2 kB / 0.9051 GB, free: 58.41 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001617/0.2928, allocations: 425.1 kB / 0.9055 GB, free: 57.94 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.378e-05/0.2929, allocations: 108.9 kB / 0.9056 GB, free: 57.83 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.835e-05/0.2929, allocations: 101 kB / 0.9057 GB, free: 57.72 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.137e-05/0.2929, allocations: 176.3 kB / 0.9059 GB, free: 57.54 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.389e-05/0.293, allocations: 188.2 kB / 0.9061 GB, free: 57.35 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.875e-05/0.293, allocations: 184.5 kB / 0.9063 GB, free: 57.16 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.77e-05/0.2931, allocations: 184.2 kB / 0.9064 GB, free: 56.98 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.798e-05/0.2932, allocations: 311.7 kB / 0.9067 GB, free: 56.65 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 5.503e-05/0.2932, allocations: 193.9 kB / 0.9069 GB, free: 56.43 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.895e-05/0.2933, allocations: 188.1 kB / 0.9071 GB, free: 56.24 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.54e-05/0.2933, allocations: 108.9 kB / 0.9072 GB, free: 56.13 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.491e-05/0.2934, allocations: 180.2 kB / 0.9074 GB, free: 55.95 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.204e-05/0.2934, allocations: 108.9 kB / 0.9075 GB, free: 55.83 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 7.248e-05/0.2935, allocations: 126.7 kB / 0.9076 GB, free: 55.71 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.51e-07/0.2935, allocations: 0 / 0.9076 GB, free: 55.71 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002049/0.2937, allocations: 4 kB / 0.9076 GB, free: 55.71 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 (0): * Single equations (assignments): 0 * 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.0003343/0.2941, allocations: 0.8165 MB / 0.9084 GB, free: 54.86 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 7.726e-05/0.2941, allocations: 15.94 kB / 0.9084 GB, free: 54.85 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.2942, allocations: 0 / 0.9084 GB, free: 54.85 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 1.192e-06/0.2942, allocations: 0 / 0.9084 GB, free: 54.85 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002424/0.2944, allocations: 0.528 MB / 0.9089 GB, free: 54.32 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008259/0.2952, allocations: 0.9241 MB / 0.9098 GB, free: 53.33 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001974/0.2955, allocations: 0.7004 MB / 0.9105 GB, free: 52.6 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 2.115e-05/0.2955, allocations: 11.84 kB / 0.9105 GB, free: 52.59 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.853e-05/0.2955, allocations: 15.44 kB / 0.9105 GB, free: 52.58 MB / 0.6042 GB Notification: Performance of SimCode: time 2.2e-07/0.2955, allocations: 0 / 0.9105 GB, free: 52.58 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01477/0.3103, allocations: 1.45 MB / 0.912 GB, free: 51.3 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002736/0.3107, allocations: 210.2 kB / 0.9122 GB, free: 51.05 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.773/2.084, allocations: 0 / 0.9122 GB, free: 51.05 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe >> ../files/Buildings_maint.7.0.x_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain.fmu > Buildings_maint.7.0.x_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe 2>&1)