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.505/1.505, allocations: 251.9 MB / 266.8 MB, free: 11.04 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.001228/0.001228, allocations: 182.1 kB / 326.5 MB, free: 2.266 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.356/2.356, allocations: 205.4 MB / 0.5775 GB, free: 20.3 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.001092/0.001093, allocations: 86.36 kB / 0.6821 GB, free: 12.91 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004464/0.0004463, allocations: 12.88 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3159/0.3164, allocations: 106.3 MB / 0.9001 GB, free: 63.9 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.189/1.505, allocations: 355.4 MB / 1.247 GB, free: 11.15 MB / 0.7605 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003999/1.506, allocations: 91.2 kB / 1.247 GB, free: 11.1 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 0.02528/1.531, allocations: 9.25 MB / 1.256 GB, free: 3.57 MB / 0.7605 GB Notification: Performance of FrontEnd: time 3.216e-06/1.531, allocations: 0 / 1.256 GB, free: 3.57 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 2.112e-05/1.531, allocations: 7.938 kB / 1.256 GB, free: 3.562 MB / 0.7605 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.0009687/1.532, allocations: 0.4891 MB / 1.257 GB, free: 3.039 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 6.117e-05/1.532, allocations: 12.03 kB / 1.257 GB, free: 3.027 MB / 0.7605 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.445e-05/1.532, allocations: 34.56 kB / 1.257 GB, free: 2.984 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.354e-05/1.533, allocations: 23.33 kB / 1.257 GB, free: 2.965 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000505/1.533, allocations: 236.7 kB / 1.257 GB, free: 2.703 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.25e-05/1.533, allocations: 4 kB / 1.257 GB, free: 2.699 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.685e-05/1.533, allocations: 11.55 kB / 1.257 GB, free: 2.691 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004054/1.534, allocations: 147.9 kB / 1.257 GB, free: 2.562 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.076e-05/1.534, allocations: 0 / 1.257 GB, free: 2.562 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.792e-05/1.534, allocations: 0 / 1.257 GB, free: 2.562 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.553e-05/1.534, allocations: 11.98 kB / 1.257 GB, free: 2.551 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004546/1.534, allocations: 160.6 kB / 1.257 GB, free: 2.422 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008912/1.535, allocations: 445.8 kB / 1.258 GB, free: 1.992 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004074/1.535, allocations: 170.2 kB / 1.258 GB, free: 1.855 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 2.608e-05/1.535, allocations: 3.312 kB / 1.258 GB, free: 1.855 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.898e-05/1.535, allocations: 38.5 kB / 1.258 GB, free: 1.809 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=13): time 1.793e-06/1.535, allocations: 3.938 kB / 1.258 GB, free: 1.805 MB / 0.7605 GB Notification: Performance of matching and sorting (n=13): time 0.0008855/1.536, allocations: 308.2 kB / 1.258 GB, free: 1.547 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.783e-05/1.536, allocations: 55.41 kB / 1.258 GB, free: 1.48 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000218/1.537, allocations: 180.9 kB / 1.259 GB, free: 1.32 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 3.154e-05/1.537, allocations: 33.39 kB / 1.259 GB, free: 1.285 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 9.973e-05/1.537, allocations: 125.5 kB / 1.259 GB, free: 1.184 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 5.742e-05/1.537, allocations: 39.12 kB / 1.259 GB, free: 1.148 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.027e-05/1.537, allocations: 3.375 kB / 1.259 GB, free: 1.148 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001583/1.537, allocations: 330.1 kB / 1.259 GB, free: 0.8242 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002159/1.537, allocations: 82.5 kB / 1.259 GB, free: 0.7578 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002068/1.538, allocations: 83.38 kB / 1.259 GB, free: 0.6914 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002227/1.538, allocations: 81.75 kB / 1.259 GB, free: 0.6289 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/1.538, allocations: 0 / 1.259 GB, free: 0.6289 MB / 0.7605 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005471/1.538, allocations: 225.8 kB / 1.26 GB, free: 448 kB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 2.158e-05/1.538, allocations: 4 kB / 1.26 GB, free: 444 kB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.024e-06/1.538, allocations: 0 / 1.26 GB, free: 444 kB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.928e-05/1.538, allocations: 7.953 kB / 1.26 GB, free: 436 kB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002564/1.539, allocations: 35.97 kB / 1.26 GB, free: 400 kB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.047e-05/1.539, allocations: 4 kB / 1.26 GB, free: 396 kB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001709/1.539, allocations: 19.55 kB / 1.26 GB, free: 380 kB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.933e-05/1.539, allocations: 3.984 kB / 1.26 GB, free: 376 kB / 0.7605 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.000136/1.539, allocations: 129.2 kB / 1.26 GB, free: 244 kB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.403e-05/1.539, allocations: 27.7 kB / 1.26 GB, free: 216 kB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.698e-05/1.539, allocations: 23.91 kB / 1.26 GB, free: 204 kB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.417e-06/1.539, allocations: 0 / 1.26 GB, free: 204 kB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.426e-06/1.539, allocations: 7.891 kB / 1.26 GB, free: 196 kB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/1.539, allocations: 0 / 1.26 GB, free: 196 kB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003331/1.54, allocations: 261.9 kB / 1.26 GB, free: 15.92 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/1.54, allocations: 0 / 1.26 GB, free: 15.92 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002347/1.54, allocations: 43.95 kB / 1.26 GB, free: 15.88 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.68e-06/1.54, allocations: 3.984 kB / 1.26 GB, free: 15.87 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.891e-05/1.54, allocations: 3.5 kB / 1.26 GB, free: 15.87 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.445e-06/1.54, allocations: 4 kB / 1.26 GB, free: 15.87 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/1.54, allocations: 3.938 kB / 1.26 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005996/1.54, allocations: 324.7 kB / 1.26 GB, free: 15.57 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001251/1.541, allocations: 112.1 kB / 1.261 GB, free: 15.45 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.172e-05/1.541, allocations: 7.938 kB / 1.261 GB, free: 15.44 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001785/1.541, allocations: 19.36 kB / 1.261 GB, free: 15.42 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.474e-05/1.541, allocations: 7.984 kB / 1.261 GB, free: 15.41 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.773e-05/1.541, allocations: 11.98 kB / 1.261 GB, free: 15.4 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001493/1.541, allocations: 154.4 kB / 1.261 GB, free: 15.27 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1.4e-07/1.541, allocations: 0 / 1.261 GB, free: 15.27 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.000312/1.541, allocations: 35.88 kB / 1.261 GB, free: 15.24 MB / 0.7761 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.00114/1.543, allocations: 0.9103 MB / 1.262 GB, free: 14.35 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.000526/1.543, allocations: 183.8 kB / 1.262 GB, free: 14.2 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/1.543, allocations: 4 kB / 1.262 GB, free: 14.2 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0002355/1.543, allocations: 97.81 kB / 1.262 GB, free: 14.12 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003129/1.544, allocations: 19.66 kB / 1.262 GB, free: 14.11 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002396/1.546, allocations: 1.261 MB / 1.263 GB, free: 12.94 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003851/1.546, allocations: 0.7388 MB / 1.264 GB, free: 12.18 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0002012/1.547, allocations: 48.58 kB / 1.264 GB, free: 12.13 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001061/1.547, allocations: 55.72 kB / 1.264 GB, free: 12.1 MB / 0.7761 GB Notification: Performance of SimCode: time 3.8e-07/1.547, allocations: 0 / 1.264 GB, free: 12.1 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01838/1.565, allocations: 4.279 MB / 1.268 GB, free: 8.016 MB / 0.7761 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002045/1.565, allocations: 204.5 kB / 1.268 GB, free: 7.777 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.899/3.465, allocations: 0 / 1.268 GB, free: 7.777 MB / 0.7761 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)