Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.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.ASHRAEHeatLoss,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss",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.396/1.396, allocations: 252 MB / 267 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.00136/0.00136, allocations: 187.6 kB / 326.6 MB, free: 2.234 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.93/1.93, allocations: 205.4 MB / 0.5776 GB, free: 20.58 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.0007566/0.0007567, allocations: 97.69 kB / 0.6823 GB, free: 13.34 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004018/0.0004018, allocations: 15.5 kB / 0.7965 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2646/0.265, allocations: 106.3 MB / 0.9003 GB, free: 64.36 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss): time 0.002065/0.2671, allocations: 1.585 MB / 0.9018 GB, free: 62.76 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.003188/0.2704, allocations: 3.236 MB / 0.905 GB, free: 59.51 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.706e-05/0.2704, allocations: 0 / 0.905 GB, free: 59.51 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.00021/0.2707, allocations: 39.75 kB / 0.905 GB, free: 59.47 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0003613/0.271, allocations: 107.5 kB / 0.9051 GB, free: 59.37 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 5.641e-05/0.2711, allocations: 31.83 kB / 0.9052 GB, free: 59.34 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001737/0.2713, allocations: 159.3 kB / 0.9053 GB, free: 59.18 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001034/0.2714, allocations: 21.67 kB / 0.9054 GB, free: 59.16 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001515/0.2716, allocations: 67.7 kB / 0.9054 GB, free: 59.09 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001554/0.2717, allocations: 83.61 kB / 0.9055 GB, free: 59.01 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.348e-05/0.2718, allocations: 4 kB / 0.9055 GB, free: 59.01 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 7.742e-05/0.2718, allocations: 27.92 kB / 0.9055 GB, free: 58.98 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 6.086e-05/0.2719, allocations: 27.91 kB / 0.9056 GB, free: 58.95 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.08e-05/0.272, allocations: 53.58 kB / 0.9056 GB, free: 58.89 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001391/0.2721, allocations: 115.9 kB / 0.9057 GB, free: 58.78 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.581e-06/0.2721, allocations: 0 / 0.9057 GB, free: 58.78 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.375e-06/0.2721, allocations: 0 / 0.9057 GB, free: 58.78 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.47e-06/0.2721, allocations: 0 / 0.9057 GB, free: 58.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.0007208/0.2729, allocations: 494.5 kB / 0.9062 GB, free: 58.25 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.129e-05/0.2729, allocations: 8.031 kB / 0.9062 GB, free: 58.24 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.987e-05/0.273, allocations: 42.55 kB / 0.9062 GB, free: 58.19 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.911e-05/0.273, allocations: 27.67 kB / 0.9063 GB, free: 58.16 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000298/0.2733, allocations: 233.6 kB / 0.9065 GB, free: 57.89 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.302e-05/0.2733, allocations: 4 kB / 0.9065 GB, free: 57.89 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.939e-05/0.2734, allocations: 0 / 0.9065 GB, free: 57.89 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003327/0.2737, allocations: 145.6 kB / 0.9066 GB, free: 57.74 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/0.2737, allocations: 0 / 0.9066 GB, free: 57.74 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.465e-05/0.2737, allocations: 0 / 0.9066 GB, free: 57.74 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.557e-05/0.2738, allocations: 19.94 kB / 0.9066 GB, free: 57.72 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000397/0.2742, allocations: 147.9 kB / 0.9068 GB, free: 57.58 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006032/0.2748, allocations: 448.6 kB / 0.9072 GB, free: 57.09 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003644/0.2752, allocations: 170.5 kB / 0.9074 GB, free: 56.91 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002208/0.2754, allocations: 108.8 kB / 0.9075 GB, free: 56.8 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.997e-05/0.2754, allocations: 7.938 kB / 0.9075 GB, free: 56.8 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.996e-05/0.2754, allocations: 34.81 kB / 0.9075 GB, free: 56.75 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=13): time 1.142e-06/0.2755, allocations: 7.938 kB / 0.9075 GB, free: 56.75 MB / 0.6042 GB Notification: Performance of matching and sorting (n=13): time 0.0007332/0.2762, allocations: 305.4 kB / 0.9078 GB, free: 56.44 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.399e-05/0.2762, allocations: 51.41 kB / 0.9079 GB, free: 56.38 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001445/0.2764, allocations: 209 kB / 0.9081 GB, free: 56.16 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.602e-05/0.2764, allocations: 25.7 kB / 0.9081 GB, free: 56.13 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 5.33e-05/0.2765, allocations: 132 kB / 0.9082 GB, free: 56 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.551e-05/0.2765, allocations: 43.36 kB / 0.9083 GB, free: 55.96 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.396e-06/0.2765, allocations: 0 / 0.9083 GB, free: 55.96 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.133e-05/0.2766, allocations: 330.8 kB / 0.9086 GB, free: 55.62 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002062/0.2768, allocations: 79.94 kB / 0.9087 GB, free: 55.55 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001962/0.277, allocations: 81.94 kB / 0.9087 GB, free: 55.47 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002063/0.2772, allocations: 87.94 kB / 0.9088 GB, free: 55.38 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-06/0.2772, allocations: 3.938 kB / 0.9088 GB, free: 55.38 MB / 0.6042 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004489/0.2777, allocations: 225.3 kB / 0.909 GB, free: 55.15 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.626e-05/0.2777, allocations: 7.953 kB / 0.909 GB, free: 55.14 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.2777, allocations: 0 / 0.909 GB, free: 55.14 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.297e-05/0.2778, allocations: 0 / 0.909 GB, free: 55.14 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002335/0.278, allocations: 35.97 kB / 0.9091 GB, free: 55.11 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/0.278, allocations: 4 kB / 0.9091 GB, free: 55.11 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001481/0.2782, allocations: 27.83 kB / 0.9091 GB, free: 55.08 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.534e-05/0.2782, allocations: 11.98 kB / 0.9091 GB, free: 55.07 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 9.482e-05/0.2783, allocations: 125.8 kB / 0.9092 GB, free: 54.93 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.676e-05/0.2783, allocations: 19.8 kB / 0.9093 GB, free: 54.91 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.709e-05/0.2784, allocations: 33.78 kB / 0.9093 GB, free: 54.88 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.2784, allocations: 4 kB / 0.9093 GB, free: 54.87 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.2784, allocations: 0 / 0.9093 GB, free: 54.87 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.2784, allocations: 0 / 0.9093 GB, free: 54.87 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002102/0.2786, allocations: 257.5 kB / 0.9095 GB, free: 54.57 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.2786, allocations: 0 / 0.9095 GB, free: 54.57 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002046/0.2788, allocations: 39.97 kB / 0.9096 GB, free: 54.53 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.2789, allocations: 0 / 0.9096 GB, free: 54.53 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.354e-05/0.2789, allocations: 3.984 kB / 0.9096 GB, free: 54.53 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.2789, allocations: 3.953 kB / 0.9096 GB, free: 54.52 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.2789, allocations: 8 kB / 0.9096 GB, free: 54.52 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004951/0.2794, allocations: 329.7 kB / 0.9099 GB, free: 54.18 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 7.72e-05/0.2795, allocations: 108.9 kB / 0.91 GB, free: 54.05 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.873e-05/0.2795, allocations: 3.938 kB / 0.91 GB, free: 54.05 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002007/0.2797, allocations: 19.98 kB / 0.91 GB, free: 54.03 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.301e-05/0.2798, allocations: 11.94 kB / 0.91 GB, free: 54.02 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.09e-05/0.2798, allocations: 8 kB / 0.9101 GB, free: 54.01 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 9.778e-05/0.2799, allocations: 156.5 kB / 0.9102 GB, free: 53.86 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2799, allocations: 0 / 0.9102 GB, free: 53.86 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002381/0.2801, allocations: 35.94 kB / 0.9102 GB, free: 53.82 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.0007209/0.2809, allocations: 0.8644 MB / 0.9111 GB, free: 52.93 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0004613/0.2813, allocations: 179.9 kB / 0.9113 GB, free: 52.76 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.2814, allocations: 0 / 0.9113 GB, free: 52.76 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002174/0.2816, allocations: 104.4 kB / 0.9113 GB, free: 52.66 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003772/0.282, allocations: 33.75 kB / 0.9114 GB, free: 52.63 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001877/0.2839, allocations: 1.271 MB / 0.9126 GB, free: 51.31 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000157/0.284, allocations: 0.7274 MB / 0.9133 GB, free: 50.55 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001583/0.2842, allocations: 44.59 kB / 0.9134 GB, free: 50.51 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.889e-05/0.2843, allocations: 59.41 kB / 0.9134 GB, free: 50.45 MB / 0.6042 GB Notification: Performance of SimCode: time 2.7e-07/0.2843, allocations: 0 / 0.9134 GB, free: 50.45 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01498/0.2993, allocations: 3.381 MB / 0.9167 GB, free: 47.27 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001726/0.2995, allocations: 209.1 kB / 0.9169 GB, free: 47.04 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.905/2.204, allocations: 0 / 0.9169 GB, free: 47.04 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss.fmu > Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe 2>&1)