Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.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(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime,fileNamePrefix="BuildingSystems_BuildingSystems_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.004562/0.004562, allocations: 97.62 kB / 15.73 MB, free: 6.004 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.001244/0.001244, allocations: 195 kB / 16.67 MB, free: 5.934 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.373/1.373, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002518/0.002518, allocations: 286.1 kB / 290.8 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9867/0.9867, allocations: 169.2 MB / 0.4983 GB, free: 4.43 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00265/0.00265, allocations: 103.8 kB / 0.681 GB, free: 7.41 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3733/0.376, allocations: 86.97 MB / 0.7659 GB, free: 3.816 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime): time 0.002785/0.3788, allocations: 1.593 MB / 0.7675 GB, free: 2.211 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0009746/0.3798, allocations: 0.5433 MB / 0.768 GB, free: 1.664 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.597e-05/0.3799, allocations: 3.938 kB / 0.768 GB, free: 1.66 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 4.067e-05/0.3799, allocations: 7.922 kB / 0.768 GB, free: 1.652 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0002753/0.3802, allocations: 43.7 kB / 0.7681 GB, free: 1.609 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001239/0.3804, allocations: 43.94 kB / 0.7681 GB, free: 1.566 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.000162/0.3805, allocations: 107.6 kB / 0.7682 GB, free: 1.461 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001173/0.3807, allocations: 19.66 kB / 0.7682 GB, free: 1.445 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001356/0.3808, allocations: 55.77 kB / 0.7683 GB, free: 1.391 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001228/0.3809, allocations: 47.83 kB / 0.7683 GB, free: 1.344 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.486e-05/0.381, allocations: 12 kB / 0.7683 GB, free: 1.332 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 2.122e-05/0.381, allocations: 8 kB / 0.7683 GB, free: 1.324 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 3.679e-05/0.381, allocations: 23.91 kB / 0.7684 GB, free: 1.301 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 6.994e-05/0.3811, allocations: 43.78 kB / 0.7684 GB, free: 1.258 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001662/0.3813, allocations: 87.27 kB / 0.7685 GB, free: 1.176 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.3813, allocations: 0 / 0.7685 GB, free: 1.176 MB / 0.5294 GB Notification: Performance of FrontEnd: time 3.767e-06/0.3813, allocations: 0 / 0.7685 GB, free: 1.176 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.17e-05/0.3813, allocations: 3.938 kB / 0.7685 GB, free: 1.172 MB / 0.5294 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.000809/0.3821, allocations: 412.9 kB / 0.7689 GB, free: 0.7227 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.228e-05/0.3822, allocations: 8.031 kB / 0.7689 GB, free: 0.7148 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.491e-05/0.3822, allocations: 42.67 kB / 0.7689 GB, free: 0.6641 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.746e-05/0.3823, allocations: 12.89 kB / 0.7689 GB, free: 0.6523 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00018/0.3825, allocations: 180.2 kB / 0.7691 GB, free: 448 kB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.245e-05/0.3825, allocations: 12.38 kB / 0.7691 GB, free: 436 kB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.976e-05/0.3825, allocations: 8.312 kB / 0.7691 GB, free: 428 kB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000192/0.3827, allocations: 89.14 kB / 0.7692 GB, free: 336 kB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/0.3827, allocations: 4 kB / 0.7692 GB, free: 332 kB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.455e-05/0.3828, allocations: 4 kB / 0.7692 GB, free: 328 kB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.756e-06/0.3828, allocations: 4 kB / 0.7692 GB, free: 324 kB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001176/0.3829, allocations: 47.91 kB / 0.7693 GB, free: 276 kB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005943/0.3835, allocations: 344.6 kB / 0.7696 GB, free: 15.88 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003207/0.3838, allocations: 110.7 kB / 0.7697 GB, free: 15.77 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.982e-05/0.3839, allocations: 40.84 kB / 0.7698 GB, free: 15.72 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.879e-05/0.384, allocations: 0 / 0.7698 GB, free: 15.72 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002462/0.3842, allocations: 103.3 kB / 0.7699 GB, free: 15.61 MB / 0.545 GB Notification: Performance of pre-optimization done (n=11): time 1.263e-06/0.3842, allocations: 0 / 0.7699 GB, free: 15.61 MB / 0.545 GB Notification: Performance of matching and sorting (n=11): time 0.0003578/0.3846, allocations: 141.5 kB / 0.77 GB, free: 15.46 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.524e-05/0.3846, allocations: 51.41 kB / 0.77 GB, free: 15.4 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001247/0.3848, allocations: 137.8 kB / 0.7702 GB, free: 15.26 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.165e-05/0.3848, allocations: 25.7 kB / 0.7702 GB, free: 15.23 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.729e-05/0.3849, allocations: 92.33 kB / 0.7703 GB, free: 15.13 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.849e-05/0.3849, allocations: 35.88 kB / 0.7703 GB, free: 15.09 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.517e-05/0.385, allocations: 25.7 kB / 0.7703 GB, free: 15.06 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001439/0.3851, allocations: 318.8 kB / 0.7706 GB, free: 14.74 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.831e-05/0.3852, allocations: 31.98 kB / 0.7707 GB, free: 14.71 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.696e-05/0.3853, allocations: 24 kB / 0.7707 GB, free: 14.69 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001359/0.3854, allocations: 74.66 kB / 0.7708 GB, free: 14.61 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.929e-06/0.3854, allocations: 0 / 0.7708 GB, free: 14.61 MB / 0.545 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001914/0.3856, allocations: 116.1 kB / 0.7709 GB, free: 14.5 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/0.3856, allocations: 4 kB / 0.7709 GB, free: 14.49 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.3856, allocations: 0 / 0.7709 GB, free: 14.49 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.457e-05/0.3857, allocations: 3.984 kB / 0.7709 GB, free: 14.49 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001092/0.3858, allocations: 16 kB / 0.7709 GB, free: 14.47 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.764e-06/0.3858, allocations: 7.922 kB / 0.7709 GB, free: 14.46 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001074/0.3859, allocations: 15.83 kB / 0.7709 GB, free: 14.45 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.414e-05/0.3859, allocations: 8 kB / 0.7709 GB, free: 14.44 MB / 0.545 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 0.0001113/0.3861, allocations: 124.2 kB / 0.771 GB, free: 14.31 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.103e-05/0.3861, allocations: 7.953 kB / 0.7711 GB, free: 14.3 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002814/0.3864, allocations: 142 kB / 0.7712 GB, free: 14.16 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/0.3864, allocations: 4 kB / 0.7712 GB, free: 14.16 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.459e-05/0.3864, allocations: 3.984 kB / 0.7712 GB, free: 14.15 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/0.3864, allocations: 7.875 kB / 0.7712 GB, free: 14.14 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002105/0.3866, allocations: 213.5 kB / 0.7714 GB, free: 13.89 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.3866, allocations: 4 kB / 0.7714 GB, free: 13.88 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.469e-05/0.3867, allocations: 19.98 kB / 0.7714 GB, free: 13.86 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.3867, allocations: 0 / 0.7714 GB, free: 13.86 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.167e-05/0.3868, allocations: 4 kB / 0.7714 GB, free: 13.86 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.049e-06/0.3868, allocations: 4 kB / 0.7714 GB, free: 13.86 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.3868, allocations: 0 / 0.7714 GB, free: 13.86 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002747/0.387, allocations: 164.9 kB / 0.7716 GB, free: 13.68 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.239e-05/0.3871, allocations: 89 kB / 0.7717 GB, free: 13.57 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.419e-05/0.3872, allocations: 7.938 kB / 0.7717 GB, free: 13.56 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001043/0.3873, allocations: 11.98 kB / 0.7717 GB, free: 13.55 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.234e-05/0.3873, allocations: 19.92 kB / 0.7717 GB, free: 13.53 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.833e-05/0.3874, allocations: 4 kB / 0.7717 GB, free: 13.53 MB / 0.545 GB Notification: Performance of sorting global known variables: time 8.188e-05/0.3874, allocations: 99.27 kB / 0.7718 GB, free: 13.43 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3875, allocations: 0 / 0.7718 GB, free: 13.43 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002114/0.3877, allocations: 20 kB / 0.7718 GB, free: 13.41 MB / 0.545 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.0006443/0.3883, allocations: 0.7055 MB / 0.7725 GB, free: 12.68 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002126/0.3885, allocations: 83.97 kB / 0.7726 GB, free: 12.6 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.3886, allocations: 0 / 0.7726 GB, free: 12.6 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001013/0.3887, allocations: 55.86 kB / 0.7727 GB, free: 12.54 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001675/0.3888, allocations: 17.14 kB / 0.7727 GB, free: 12.53 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00163/0.3905, allocations: 1.449 MB / 0.7741 GB, free: 11 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000339/0.3908, allocations: 0.7001 MB / 0.7748 GB, free: 10.27 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 5.942e-05/0.3909, allocations: 16.41 kB / 0.7748 GB, free: 10.25 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.18e-05/0.391, allocations: 27.42 kB / 0.7748 GB, free: 10.23 MB / 0.545 GB Notification: Performance of SimCode: time 2.5e-07/0.391, allocations: 0 / 0.7748 GB, free: 10.23 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02306/0.414, allocations: 2.311 MB / 0.7771 GB, free: 8.07 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.892/8.306, allocations: 14.06 kB / 0.7771 GB, free: 8.059 MB / 0.545 GB (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime_res.csv --start-time 0 --stop-time 864000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 345.6 BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe 2>&1)