Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain,fileNamePrefix="Buildings_latest_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain,fileNamePrefix="Buildings_latest_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00462/0.004621, allocations: 103.4 kB / 15.33 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.007487/0.007487, allocations: 192.9 kB / 16.25 MB, free: 6.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.615/2.615, allocations: 222.9 MB / 239.9 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 4.918/4.918, allocations: 461.9 MB / 0.7344 GB, free: 14.94 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002784/0.002784, allocations: 64.67 kB / 0.8987 GB, free: 37.2 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5251/0.5279, allocations: 157.4 MB / 1.052 GB, free: 8.676 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.005259/0.5332, allocations: 2.196 MB / 1.055 GB, free: 6.461 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.007008/0.5403, allocations: 3.766 MB / 1.058 GB, free: 2.68 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002368/0.5406, allocations: 4 kB / 1.058 GB, free: 2.676 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0004163/0.541, allocations: 43.69 kB / 1.058 GB, free: 2.633 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0007942/0.5418, allocations: 107.3 kB / 1.058 GB, free: 2.527 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006997/0.5426, allocations: 139.7 kB / 1.059 GB, free: 2.391 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0006517/0.5432, allocations: 306.9 kB / 1.059 GB, free: 2.09 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002186/0.5435, allocations: 60.64 kB / 1.059 GB, free: 2.027 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004044/0.5439, allocations: 139.5 kB / 1.059 GB, free: 1.891 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003042/0.5442, allocations: 143.4 kB / 1.059 GB, free: 1.75 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 6.697e-05/0.5443, allocations: 20 kB / 1.059 GB, free: 1.73 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003895/0.5447, allocations: 131.8 kB / 1.059 GB, free: 1.602 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.000107/0.5448, allocations: 59.75 kB / 1.059 GB, free: 1.543 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0002167/0.545, allocations: 119.3 kB / 1.059 GB, free: 1.426 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0008054/0.5459, allocations: 338.9 kB / 1.06 GB, free: 1.094 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 1.061e-05/0.5459, allocations: 4 kB / 1.06 GB, free: 1.09 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.735e-06/0.5459, allocations: 0 / 1.06 GB, free: 1.09 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.468e-05/0.5459, allocations: 0 / 1.06 GB, free: 1.09 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.001923/0.5479, allocations: 0.6307 MB / 1.06 GB, free: 420 kB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.877e-05/0.5479, allocations: 8.625 kB / 1.06 GB, free: 412 kB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.227e-05/0.548, allocations: 46.69 kB / 1.06 GB, free: 356 kB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001511/0.5496, allocations: 168.4 kB / 1.061 GB, free: 188 kB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00112/0.5507, allocations: 328.2 kB / 1.061 GB, free: 15.82 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.727e-05/0.5507, allocations: 12.31 kB / 1.061 GB, free: 15.81 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.237e-05/0.5508, allocations: 12 kB / 1.061 GB, free: 15.8 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001038/0.5519, allocations: 225.4 kB / 1.061 GB, free: 15.57 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.715e-05/0.5519, allocations: 0 / 1.061 GB, free: 15.57 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.623e-05/0.552, allocations: 4 kB / 1.061 GB, free: 15.57 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.287e-05/0.552, allocations: 4 kB / 1.061 GB, free: 15.56 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001502/0.5535, allocations: 283.7 kB / 1.061 GB, free: 15.29 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002056/0.5556, allocations: 0.5706 MB / 1.062 GB, free: 14.66 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008398/0.5564, allocations: 174.4 kB / 1.062 GB, free: 14.48 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007607/0.5572, allocations: 156.7 kB / 1.062 GB, free: 14.33 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001214/0.5584, allocations: 0.5454 MB / 1.063 GB, free: 13.67 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.597e-05/0.5585, allocations: 42.56 kB / 1.063 GB, free: 13.62 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=13): time 2.515e-06/0.5585, allocations: 0 / 1.063 GB, free: 13.62 MB / 0.8262 GB Notification: Performance of matching and sorting (n=13): time 0.002487/0.561, allocations: 481.2 kB / 1.063 GB, free: 13.14 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.931e-05/0.5611, allocations: 59.41 kB / 1.063 GB, free: 13.07 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004212/0.5615, allocations: 268.4 kB / 1.064 GB, free: 12.81 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 5.102e-05/0.5616, allocations: 29.7 kB / 1.064 GB, free: 12.77 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001591/0.5618, allocations: 148 kB / 1.064 GB, free: 12.62 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 7.95e-05/0.5619, allocations: 43.38 kB / 1.064 GB, free: 12.58 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001604/0.562, allocations: 41.59 kB / 1.064 GB, free: 12.54 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0002118/0.5622, allocations: 338.8 kB / 1.064 GB, free: 12.2 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007532/0.563, allocations: 147.9 kB / 1.064 GB, free: 12.05 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007605/0.5638, allocations: 149.4 kB / 1.065 GB, free: 11.91 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001539/0.5653, allocations: 286.2 kB / 1.065 GB, free: 11.62 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.549e-06/0.5654, allocations: 0 / 1.065 GB, free: 11.62 MB / 0.8262 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001798/0.5672, allocations: 377 kB / 1.065 GB, free: 11.25 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 3.14e-05/0.5672, allocations: 9.5 kB / 1.065 GB, free: 11.24 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.155e-05/0.5672, allocations: 8 kB / 1.065 GB, free: 11.23 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.742e-05/0.5673, allocations: 0 / 1.065 GB, free: 11.23 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007009/0.568, allocations: 63.92 kB / 1.065 GB, free: 11.17 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.023e-05/0.568, allocations: 0 / 1.065 GB, free: 11.17 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005209/0.5685, allocations: 51.78 kB / 1.065 GB, free: 11.12 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.869e-05/0.5686, allocations: 8 kB / 1.065 GB, free: 11.11 MB / 0.8262 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 (17): * Single equations (assignments): 17 * 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 0.0002023/0.5688, allocations: 135.2 kB / 1.065 GB, free: 10.97 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001053/0.5689, allocations: 27.72 kB / 1.065 GB, free: 10.95 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001983/0.5709, allocations: 378.4 kB / 1.066 GB, free: 10.57 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.438e-06/0.5709, allocations: 4 kB / 1.066 GB, free: 10.56 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.253e-06/0.571, allocations: 0 / 1.066 GB, free: 10.56 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.843e-06/0.571, allocations: 3.938 kB / 1.066 GB, free: 10.56 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005379/0.5715, allocations: 305.4 kB / 1.066 GB, free: 10.21 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/0.5715, allocations: 7.875 kB / 1.066 GB, free: 10.2 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006371/0.5722, allocations: 55.92 kB / 1.066 GB, free: 10.15 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.306e-06/0.5722, allocations: 4 kB / 1.066 GB, free: 10.14 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.288e-05/0.5723, allocations: 7.984 kB / 1.066 GB, free: 10.14 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.837e-06/0.5723, allocations: 0 / 1.066 GB, free: 10.14 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.5723, allocations: 0 / 1.066 GB, free: 10.14 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00172/0.574, allocations: 442.9 kB / 1.067 GB, free: 9.688 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002058/0.5742, allocations: 124.7 kB / 1.067 GB, free: 9.547 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.467e-05/0.5743, allocations: 4 kB / 1.067 GB, free: 9.543 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005474/0.5749, allocations: 43.89 kB / 1.067 GB, free: 9.5 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001197/0.575, allocations: 19.91 kB / 1.067 GB, free: 9.48 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.471e-05/0.5751, allocations: 4 kB / 1.067 GB, free: 9.477 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0002973/0.5754, allocations: 187.1 kB / 1.067 GB, free: 9.297 MB / 0.8262 GB Notification: Performance of sort global known variables: time 4.31e-07/0.5754, allocations: 0 / 1.067 GB, free: 9.297 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0006578/0.5761, allocations: 71.92 kB / 1.067 GB, free: 9.227 MB / 0.8262 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.002523/0.5786, allocations: 1.009 MB / 1.068 GB, free: 8.191 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.001913/0.5806, allocations: 331.6 kB / 1.068 GB, free: 7.867 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 8.566e-06/0.5806, allocations: 4 kB / 1.068 GB, free: 7.863 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0007861/0.5814, allocations: 163.8 kB / 1.068 GB, free: 7.703 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008163/0.5822, allocations: 55.92 kB / 1.069 GB, free: 7.656 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008826/0.5911, allocations: 2.942 MB / 1.071 GB, free: 4.637 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005227/0.5917, allocations: 0.7473 MB / 1.072 GB, free: 3.863 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0005503/0.5922, allocations: 45.39 kB / 1.072 GB, free: 3.82 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002806/0.5925, allocations: 79.39 kB / 1.072 GB, free: 3.742 MB / 0.8262 GB Notification: Performance of SimCode: time 1.523e-06/0.5926, allocations: 0 / 1.072 GB, free: 3.742 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1168/0.7093, allocations: 5.419 MB / 1.078 GB, free: 14.51 MB / 0.8419 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004259/0.7098, allocations: 233.6 kB / 1.078 GB, free: 14.25 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.446/5.156, allocations: 0 / 1.078 GB, free: 14.25 MB / 0.8419 GB (rm -f Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; mkfifo Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe >> ../files/Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain.fmu > Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe 2>&1)