Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.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.EN12975SolarGain,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain",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.451/1.451, 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.001317/0.001317, allocations: 182.8 kB / 326.5 MB, free: 2.23 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.815/1.815, allocations: 205.4 MB / 0.5775 GB, free: 20.23 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.0009429/0.0009429, allocations: 100.5 kB / 0.6821 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003267/0.0003266, allocations: 10.38 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2384/0.2388, allocations: 106.3 MB / 0.9002 GB, free: 63.81 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9441/1.183, allocations: 356.1 MB / 1.248 GB, free: 10.48 MB / 0.7605 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002839/1.183, allocations: 91.44 kB / 1.248 GB, free: 10.43 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 0.02882/1.212, allocations: 10.69 MB / 1.258 GB, free: 1.645 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.543e-06/1.212, allocations: 0 / 1.258 GB, free: 1.645 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 2.406e-05/1.212, allocations: 4 kB / 1.258 GB, free: 1.641 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.001365/1.214, allocations: 0.6132 MB / 1.259 GB, free: 0.9922 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 5.746e-05/1.214, allocations: 12.03 kB / 1.259 GB, free: 0.9805 MB / 0.7605 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.382e-05/1.214, allocations: 34.25 kB / 1.259 GB, free: 0.9414 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.662e-05/1.214, allocations: 35.58 kB / 1.259 GB, free: 0.9062 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006775/1.214, allocations: 273.5 kB / 1.259 GB, free: 0.6094 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.448e-05/1.214, allocations: 7.188 kB / 1.259 GB, free: 0.6055 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.678e-05/1.215, allocations: 7.875 kB / 1.259 GB, free: 0.6016 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005394/1.215, allocations: 193.2 kB / 1.26 GB, free: 444 kB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/1.215, allocations: 0 / 1.26 GB, free: 444 kB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.031e-05/1.215, allocations: 7.312 kB / 1.26 GB, free: 440 kB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.012e-06/1.215, allocations: 0 / 1.26 GB, free: 440 kB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007072/1.216, allocations: 236.6 kB / 1.26 GB, free: 236 kB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001065/1.217, allocations: 492.8 kB / 1.26 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004132/1.217, allocations: 148.2 kB / 1.26 GB, free: 15.64 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008186/1.218, allocations: 0.5102 MB / 1.261 GB, free: 15.02 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.148e-05/1.218, allocations: 46.12 kB / 1.261 GB, free: 14.97 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=11): time 2.094e-06/1.218, allocations: 0 / 1.261 GB, free: 14.97 MB / 0.7761 GB Notification: Performance of matching and sorting (n=11): time 0.00132/1.22, allocations: 418.7 kB / 1.261 GB, free: 14.61 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.53e-05/1.22, allocations: 59.34 kB / 1.261 GB, free: 14.54 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002347/1.22, allocations: 202.5 kB / 1.262 GB, free: 14.36 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.605e-05/1.22, allocations: 25.7 kB / 1.262 GB, free: 14.33 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 9.233e-05/1.22, allocations: 143.1 kB / 1.262 GB, free: 14.22 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 6.102e-05/1.22, allocations: 34.73 kB / 1.262 GB, free: 14.2 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.091e-05/1.22, allocations: 0 / 1.262 GB, free: 14.2 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001671/1.22, allocations: 332.7 kB / 1.262 GB, free: 13.87 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003579/1.221, allocations: 117.6 kB / 1.262 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003487/1.221, allocations: 117.6 kB / 1.262 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003527/1.221, allocations: 114.3 kB / 1.262 GB, free: 13.58 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.743e-06/1.221, allocations: 0 / 1.262 GB, free: 13.58 MB / 0.7761 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0008151/1.222, allocations: 306.4 kB / 1.263 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.15e-05/1.222, allocations: 4 kB / 1.263 GB, free: 13.31 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.296e-06/1.222, allocations: 3.953 kB / 1.263 GB, free: 13.31 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.002e-05/1.222, allocations: 4 kB / 1.263 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003636/1.223, allocations: 59.89 kB / 1.263 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.829e-06/1.223, allocations: 3.984 kB / 1.263 GB, free: 13.24 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002563/1.223, allocations: 43.31 kB / 1.263 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.191e-05/1.223, allocations: 4.625 kB / 1.263 GB, free: 13.2 MB / 0.7761 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 (11): * Single equations (assignments): 11 * 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.0001641/1.223, allocations: 130.5 kB / 1.263 GB, free: 13.07 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.978e-05/1.223, allocations: 15.81 kB / 1.263 GB, free: 13.05 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009402/1.224, allocations: 339.4 kB / 1.263 GB, free: 12.77 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.513e-06/1.224, allocations: 3.953 kB / 1.263 GB, free: 12.77 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/1.224, allocations: 3.984 kB / 1.263 GB, free: 12.77 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.227e-06/1.224, allocations: 4 kB / 1.263 GB, free: 12.76 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003656/1.225, allocations: 273 kB / 1.264 GB, free: 12.48 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/1.225, allocations: 0 / 1.264 GB, free: 12.48 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003166/1.225, allocations: 51.94 kB / 1.264 GB, free: 12.43 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.147e-06/1.225, allocations: 4 kB / 1.264 GB, free: 12.43 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.05e-05/1.225, allocations: 3.984 kB / 1.264 GB, free: 12.43 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.597e-06/1.225, allocations: 4 kB / 1.264 GB, free: 12.42 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.549e-06/1.225, allocations: 3.953 kB / 1.264 GB, free: 12.42 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008838/1.226, allocations: 405.6 kB / 1.264 GB, free: 12.05 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001348/1.226, allocations: 111.9 kB / 1.264 GB, free: 11.93 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.65e-05/1.226, allocations: 3.438 kB / 1.264 GB, free: 11.93 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002605/1.226, allocations: 35.97 kB / 1.264 GB, free: 11.89 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.477e-05/1.226, allocations: 23.55 kB / 1.264 GB, free: 11.87 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.563e-05/1.226, allocations: 0 / 1.264 GB, free: 11.87 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001683/1.227, allocations: 174.9 kB / 1.264 GB, free: 11.73 MB / 0.7761 GB Notification: Performance of sort global known variables: time 4.01e-07/1.227, allocations: 0 / 1.264 GB, free: 11.73 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.000394/1.227, allocations: 66.62 kB / 1.264 GB, free: 11.67 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 (11): * Single equations (assignments): 11 * 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.001541/1.229, allocations: 1.012 MB / 1.265 GB, free: 10.67 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0008098/1.229, allocations: 250.1 kB / 1.266 GB, free: 10.46 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/1.229, allocations: 4 kB / 1.266 GB, free: 10.46 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.000375/1.23, allocations: 144 kB / 1.266 GB, free: 10.34 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003162/1.23, allocations: 23.36 kB / 1.266 GB, free: 10.33 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002986/1.233, allocations: 1.487 MB / 1.267 GB, free: 8.965 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000385/1.234, allocations: 0.7394 MB / 1.268 GB, free: 8.199 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0002138/1.234, allocations: 36.84 kB / 1.268 GB, free: 8.16 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000129/1.234, allocations: 68.95 kB / 1.268 GB, free: 8.133 MB / 0.7761 GB Notification: Performance of SimCode: time 1.332e-06/1.234, allocations: 0 / 1.268 GB, free: 8.133 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01944/1.253, allocations: 5.244 MB / 1.273 GB, free: 3.094 MB / 0.7761 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002193/1.254, allocations: 211.7 kB / 1.273 GB, free: 2.855 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.019/3.272, allocations: 0 / 1.273 GB, free: 2.855 MB / 0.7761 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain.fmu > Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe 2>&1)