Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.746/1.746, allocations: 288.2 MB / 303.2 MB, free: 8.102 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001414/0.001414, allocations: 183.6 kB / 371.8 MB, free: 10.29 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.906/1.906, allocations: 205.4 MB / 0.6305 GB, free: 10.04 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001027/0.001027, allocations: 96.22 kB / 0.7439 GB, free: 5.969 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004176/0.0004176, allocations: 15.12 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2356/0.2361, allocations: 115.3 MB / 0.9795 GB, free: 27.63 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9684/1.204, allocations: 364.3 MB / 1.335 GB, free: 15.84 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003685/1.205, allocations: 85.33 kB / 1.335 GB, free: 15.79 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.0341/1.239, allocations: 11.63 MB / 1.347 GB, free: 6.164 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.923e-06/1.239, allocations: 3.938 kB / 1.347 GB, free: 6.16 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 2.329e-05/1.239, allocations: 8 kB / 1.347 GB, free: 6.152 MB / 0.8698 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.001354/1.241, allocations: 0.65 MB / 1.347 GB, free: 5.469 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.457e-05/1.241, allocations: 12.03 kB / 1.347 GB, free: 5.457 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.953e-05/1.241, allocations: 47.67 kB / 1.347 GB, free: 5.406 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007483/1.241, allocations: 135.4 kB / 1.347 GB, free: 5.273 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009548/1.242, allocations: 335.5 kB / 1.348 GB, free: 4.926 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.61e-05/1.242, allocations: 8.062 kB / 1.348 GB, free: 4.922 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.24e-05/1.242, allocations: 11.44 kB / 1.348 GB, free: 4.914 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000681/1.243, allocations: 260 kB / 1.348 GB, free: 4.695 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/1.243, allocations: 0 / 1.348 GB, free: 4.695 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.165e-05/1.243, allocations: 2.812 kB / 1.348 GB, free: 4.695 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.652e-06/1.243, allocations: 4 kB / 1.348 GB, free: 4.691 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009711/1.244, allocations: 340.8 kB / 1.348 GB, free: 4.414 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001327/1.246, allocations: 0.5943 MB / 1.349 GB, free: 3.859 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000566/1.246, allocations: 198.2 kB / 1.349 GB, free: 3.691 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006898/1.247, allocations: 0.5177 MB / 1.35 GB, free: 3.066 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.747e-05/1.247, allocations: 34.56 kB / 1.35 GB, free: 3.023 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=13): time 1.793e-06/1.247, allocations: 0 / 1.35 GB, free: 3.023 MB / 0.8698 GB Notification: Performance of matching and sorting (n=13): time 0.001679/1.249, allocations: 0.5665 MB / 1.35 GB, free: 2.543 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.874e-05/1.249, allocations: 51.41 kB / 1.35 GB, free: 2.48 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002355/1.249, allocations: 224.2 kB / 1.351 GB, free: 2.281 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 3.051e-05/1.249, allocations: 33.39 kB / 1.351 GB, free: 2.246 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 9.584e-05/1.249, allocations: 157.1 kB / 1.351 GB, free: 2.129 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 4.68e-05/1.249, allocations: 38.08 kB / 1.351 GB, free: 2.098 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.694e-05/1.249, allocations: 3.562 kB / 1.351 GB, free: 2.098 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.000125/1.249, allocations: 347.2 kB / 1.351 GB, free: 1.762 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000504/1.25, allocations: 171.7 kB / 1.351 GB, free: 1.625 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006332/1.25, allocations: 180.5 kB / 1.351 GB, free: 1.48 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005107/1.251, allocations: 175.9 kB / 1.352 GB, free: 1.344 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/1.251, allocations: 0 / 1.352 GB, free: 1.344 MB / 0.8698 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001125/1.252, allocations: 430.3 kB / 1.352 GB, free: 0.9844 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.467e-05/1.252, allocations: 4 kB / 1.352 GB, free: 0.9805 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/1.252, allocations: 7.875 kB / 1.352 GB, free: 0.9727 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.862e-05/1.252, allocations: 4 kB / 1.352 GB, free: 0.9688 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004846/1.253, allocations: 87.34 kB / 1.352 GB, free: 0.8867 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.357e-06/1.253, allocations: 0 / 1.352 GB, free: 0.8867 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000381/1.253, allocations: 63.11 kB / 1.352 GB, free: 0.8281 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.056e-05/1.253, allocations: 7.984 kB / 1.352 GB, free: 0.8203 MB / 0.8698 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001795/1.253, allocations: 131.7 kB / 1.352 GB, free: 0.6914 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.082e-05/1.253, allocations: 27.72 kB / 1.352 GB, free: 0.6641 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001305/1.255, allocations: 444.8 kB / 1.353 GB, free: 312 kB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.359e-06/1.255, allocations: 0 / 1.353 GB, free: 312 kB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.917e-06/1.255, allocations: 0 / 1.353 GB, free: 312 kB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/1.255, allocations: 0 / 1.353 GB, free: 312 kB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004243/1.255, allocations: 307 kB / 1.353 GB, free: 0 / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/1.255, allocations: 0 / 1.353 GB, free: 0 / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004174/1.256, allocations: 87.53 kB / 1.353 GB, free: 15.92 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.899e-06/1.256, allocations: 0 / 1.353 GB, free: 15.92 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.455e-05/1.256, allocations: 4 kB / 1.353 GB, free: 15.91 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.384e-06/1.256, allocations: 0 / 1.353 GB, free: 15.91 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/1.256, allocations: 3.984 kB / 1.353 GB, free: 15.91 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001117/1.257, allocations: 0.4999 MB / 1.354 GB, free: 15.46 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001488/1.257, allocations: 126.6 kB / 1.354 GB, free: 15.33 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.396e-05/1.257, allocations: 0 / 1.354 GB, free: 15.33 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003524/1.257, allocations: 51.38 kB / 1.354 GB, free: 15.28 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.865e-05/1.257, allocations: 23.16 kB / 1.354 GB, free: 15.26 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.046e-05/1.257, allocations: 4 kB / 1.354 GB, free: 15.26 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0001876/1.258, allocations: 181.5 kB / 1.354 GB, free: 15.11 MB / 0.8855 GB Notification: Performance of sort global known variables: time 2.7e-07/1.258, allocations: 0 / 1.354 GB, free: 15.11 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.00049/1.258, allocations: 82.42 kB / 1.354 GB, free: 15.03 MB / 0.8855 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.001722/1.26, allocations: 1.125 MB / 1.355 GB, free: 13.94 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.001121/1.261, allocations: 380.7 kB / 1.356 GB, free: 13.64 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/1.261, allocations: 0 / 1.356 GB, free: 13.64 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0005294/1.262, allocations: 194.5 kB / 1.356 GB, free: 13.48 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003226/1.262, allocations: 39 kB / 1.356 GB, free: 13.45 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001588/1.263, allocations: 0.8595 MB / 1.357 GB, free: 12.61 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003147/1.264, allocations: 0.7514 MB / 1.357 GB, free: 11.83 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0002925/1.264, allocations: 45.39 kB / 1.357 GB, free: 11.78 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001557/1.264, allocations: 77.14 kB / 1.357 GB, free: 11.76 MB / 0.8855 GB Notification: Performance of SimCode: time 4e-07/1.264, allocations: 0 / 1.357 GB, free: 11.76 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01937/1.284, allocations: 6.033 MB / 1.363 GB, free: 5.926 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001792/1.284, allocations: 209.8 kB / 1.364 GB, free: 5.684 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.077/3.361, allocations: 0 / 1.364 GB, free: 5.684 MB / 0.8855 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain.fmu > Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe 2>&1)