Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime",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.001187/0.001187, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001129/0.001129, allocations: 193.6 kB / 16.14 MB, free: 6.711 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.173/1.173, allocations: 222.9 MB / 239.8 MB, free: 4.586 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.031/2.031, allocations: 390.2 MB / 0.6643 GB, free: 0.5547 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001153/0.001153, allocations: 59.91 kB / 0.812 GB, free: 14.73 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4768/0.478, allocations: 140.4 MB / 0.949 GB, free: 9.039 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime): time 0.002244/0.4802, allocations: 1.661 MB / 0.9507 GB, free: 7.73 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0006818/0.481, allocations: 0.5336 MB / 0.9512 GB, free: 7.309 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.963e-05/0.481, allocations: 1.25 kB / 0.9512 GB, free: 7.309 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.576e-05/0.4811, allocations: 7.984 kB / 0.9512 GB, free: 7.301 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002254/0.4813, allocations: 31.77 kB / 0.9512 GB, free: 7.277 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 9.825e-05/0.4814, allocations: 38.48 kB / 0.9513 GB, free: 7.246 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.803e-05/0.4815, allocations: 104.6 kB / 0.9514 GB, free: 7.188 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.044e-05/0.4816, allocations: 24.25 kB / 0.9514 GB, free: 7.172 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 9.883e-05/0.4817, allocations: 40.2 kB / 0.9514 GB, free: 7.152 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 8.642e-05/0.4818, allocations: 52.27 kB / 0.9515 GB, free: 7.117 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.603e-05/0.4818, allocations: 5.344 kB / 0.9515 GB, free: 7.117 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 2.052e-05/0.4819, allocations: 8.375 kB / 0.9515 GB, free: 7.113 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.49e-05/0.4819, allocations: 18.64 kB / 0.9515 GB, free: 7.098 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.908e-05/0.4819, allocations: 37.89 kB / 0.9515 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 9.358e-05/0.482, allocations: 92.27 kB / 0.9516 GB, free: 7.008 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.4821, allocations: 1.562 kB / 0.9516 GB, free: 7.008 MB / 0.7169 GB Notification: Performance of FrontEnd: time 6.71e-07/0.4821, allocations: 4 kB / 0.9516 GB, free: 7.004 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.426e-06/0.4821, allocations: 0 / 0.9516 GB, free: 7.004 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0005678/0.4826, allocations: 399.8 kB / 0.952 GB, free: 6.602 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.497e-05/0.4827, allocations: 9.344 kB / 0.952 GB, free: 6.602 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3e-05/0.4827, allocations: 37.75 kB / 0.9521 GB, free: 6.559 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.222e-05/0.4828, allocations: 8.938 kB / 0.9521 GB, free: 6.555 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.776e-05/0.4828, allocations: 195.1 kB / 0.9523 GB, free: 6.332 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.35e-05/0.4829, allocations: 3.188 kB / 0.9523 GB, free: 6.332 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.51e-05/0.4829, allocations: 8.562 kB / 0.9523 GB, free: 6.328 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001471/0.483, allocations: 85.58 kB / 0.9524 GB, free: 6.262 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.542e-06/0.483, allocations: 0 / 0.9524 GB, free: 6.262 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.253e-05/0.4831, allocations: 5.062 kB / 0.9524 GB, free: 6.258 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.4831, allocations: 2.438 kB / 0.9524 GB, free: 6.258 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.673e-05/0.4832, allocations: 48.91 kB / 0.9524 GB, free: 6.234 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000384/0.4836, allocations: 348.1 kB / 0.9527 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002432/0.4838, allocations: 99.27 kB / 0.9528 GB, free: 5.824 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.966e-05/0.4839, allocations: 48.78 kB / 0.9529 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.284e-05/0.4839, allocations: 1.094 kB / 0.9529 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000164/0.4841, allocations: 104.7 kB / 0.953 GB, free: 5.703 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=11): time 1.313e-06/0.4841, allocations: 0 / 0.953 GB, free: 5.703 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11): time 0.0002863/0.4844, allocations: 146.5 kB / 0.9531 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.945e-05/0.4844, allocations: 57.25 kB / 0.9532 GB, free: 5.551 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.633e-05/0.4845, allocations: 127.5 kB / 0.9533 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.025e-05/0.4845, allocations: 29.7 kB / 0.9533 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.545e-05/0.4845, allocations: 96.08 kB / 0.9534 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.632e-05/0.4846, allocations: 43.45 kB / 0.9535 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.079e-05/0.4846, allocations: 29.27 kB / 0.9535 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.562e-05/0.4846, allocations: 318.1 kB / 0.9538 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.28e-05/0.4847, allocations: 25.17 kB / 0.9538 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.778e-05/0.4848, allocations: 34.98 kB / 0.9538 GB, free: 4.891 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.485e-05/0.4849, allocations: 60.53 kB / 0.9539 GB, free: 4.859 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.4849, allocations: 0 / 0.9539 GB, free: 4.859 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001484/0.485, allocations: 110.3 kB / 0.954 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.162e-05/0.485, allocations: 5.438 kB / 0.954 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.485, allocations: 4 kB / 0.954 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.738e-06/0.4851, allocations: 1.125 kB / 0.954 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001021/0.4852, allocations: 26.52 kB / 0.954 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/0.4852, allocations: 5.328 kB / 0.954 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.916e-05/0.4853, allocations: 15.8 kB / 0.9541 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.11e-05/0.4853, allocations: 3.219 kB / 0.9541 GB, free: 4.758 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 (eqnTim.tNext,$PRE.eqnTim.tNext,locTim.tNext,$PRE.locTim.tNext,$whenCondition1,$whenCondition2) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.802e-05/0.4854, allocations: 118.9 kB / 0.9542 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.92e-05/0.4854, allocations: 7.469 kB / 0.9542 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002205/0.4856, allocations: 156.2 kB / 0.9543 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.4856, allocations: 1.281 kB / 0.9543 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.4856, allocations: 0 / 0.9543 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.4856, allocations: 7.922 kB / 0.9543 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001094/0.4857, allocations: 210 kB / 0.9545 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.4858, allocations: 0 / 0.9545 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.476e-05/0.4858, allocations: 16.2 kB / 0.9546 GB, free: 4.289 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.103e-06/0.4858, allocations: 4.969 kB / 0.9546 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.143e-05/0.4859, allocations: 5.375 kB / 0.9546 GB, free: 4.281 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.4859, allocations: 4.938 kB / 0.9546 GB, free: 4.277 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.4859, allocations: 3.938 kB / 0.9546 GB, free: 4.273 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000189/0.4861, allocations: 162.5 kB / 0.9547 GB, free: 4.156 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.303e-05/0.4861, allocations: 87.27 kB / 0.9548 GB, free: 4.055 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.32e-05/0.4861, allocations: 6.266 kB / 0.9548 GB, free: 4.051 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001013/0.4862, allocations: 7.656 kB / 0.9548 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.07e-05/0.4863, allocations: 17.83 kB / 0.9548 GB, free: 4.035 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.489e-05/0.4863, allocations: 11.48 kB / 0.9549 GB, free: 4.027 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.784e-05/0.4863, allocations: 98.77 kB / 0.955 GB, free: 3.941 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4863, allocations: 0 / 0.955 GB, free: 3.941 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001939/0.4865, allocations: 27 kB / 0.955 GB, free: 3.934 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,locTim.tNext,eqnTim.tNext) * Number of discrete states: 2 (locTim.tNext,eqnTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0003356/0.4869, allocations: 0.6942 MB / 0.9557 GB, free: 3.289 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001651/0.4871, allocations: 98.36 kB / 0.9557 GB, free: 3.242 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.4871, allocations: 0 / 0.9557 GB, free: 3.242 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 7.903e-05/0.4871, allocations: 46.14 kB / 0.9558 GB, free: 3.227 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001467/0.4873, allocations: 11.61 kB / 0.9558 GB, free: 3.219 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001029/0.4883, allocations: 1.465 MB / 0.9572 GB, free: 1.895 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.882e-05/0.4884, allocations: 0.7057 MB / 0.9579 GB, free: 1.18 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 5.632e-05/0.4885, allocations: 15.2 kB / 0.9579 GB, free: 1.172 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.018e-05/0.4886, allocations: 33.27 kB / 0.958 GB, free: 1.145 MB / 0.7169 GB Notification: Performance of SimCode: time 2.1e-07/0.4886, allocations: 0 / 0.958 GB, free: 1.145 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01776/0.5063, allocations: 2.082 MB / 0.96 GB, free: 152 kB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001471/0.5065, allocations: 227.8 kB / 0.9602 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.89/2.396, allocations: 0 / 0.9602 GB, free: 15.89 MB / 0.7325 GB (rm -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime_res.mat --tempDir=temp_Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime.fmu > Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe 2>&1)