Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.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.LocalCivilTime,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime",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.00606/0.00606, allocations: 101.1 kB / 15.73 MB, free: 6.016 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.00165/0.00165, allocations: 193 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.368/1.368, 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.002466/0.002466, allocations: 292.3 kB / 290.8 MB, free: 14.43 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.161/1.161, allocations: 178.6 MB / 0.5074 GB, free: 12.66 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002688/0.002688, allocations: 95.84 kB / 0.6943 GB, free: 15.2 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3535/0.3562, allocations: 89.13 MB / 0.7813 GB, free: 1.145 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime): time 0.002023/0.3583, allocations: 1.481 MB / 0.7828 GB, free: 15.98 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.000739/0.359, allocations: 473.2 kB / 0.7832 GB, free: 15.62 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.652e-05/0.3591, allocations: 5.625 kB / 0.7832 GB, free: 15.62 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.834e-05/0.3591, allocations: 7.938 kB / 0.7833 GB, free: 15.61 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001993/0.3593, allocations: 28.94 kB / 0.7833 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 6.414e-05/0.3594, allocations: 14.7 kB / 0.7833 GB, free: 15.57 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 9.341e-05/0.3595, allocations: 53.03 kB / 0.7833 GB, free: 15.54 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 6.881e-05/0.3596, allocations: 4.469 kB / 0.7834 GB, free: 15.54 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 8.544e-05/0.3597, allocations: 28.69 kB / 0.7834 GB, free: 15.52 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 7.721e-05/0.3597, allocations: 24.45 kB / 0.7834 GB, free: 15.51 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.587e-05/0.3598, allocations: 3 kB / 0.7834 GB, free: 15.51 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 1.245e-05/0.3598, allocations: 7.75 kB / 0.7834 GB, free: 15.5 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.417e-05/0.3598, allocations: 13.42 kB / 0.7834 GB, free: 15.49 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 4.212e-05/0.3599, allocations: 14.62 kB / 0.7834 GB, free: 15.48 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 9.425e-05/0.36, allocations: 46.39 kB / 0.7835 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 2.845e-06/0.36, allocations: 3.938 kB / 0.7835 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.212e-06/0.36, allocations: 0 / 0.7835 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.537e-06/0.36, allocations: 1.344 kB / 0.7835 GB, free: 15.45 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005484/0.3605, allocations: 351.6 kB / 0.7838 GB, free: 15.08 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.279e-05/0.3606, allocations: 13.94 kB / 0.7838 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.386e-05/0.3606, allocations: 31.66 kB / 0.7839 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.596e-05/0.3606, allocations: 7.766 kB / 0.7839 GB, free: 15.03 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001576/0.3608, allocations: 176.6 kB / 0.784 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.818e-05/0.3608, allocations: 9.875 kB / 0.7841 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.165e-05/0.3608, allocations: 1.938 kB / 0.7841 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001089/0.361, allocations: 55.98 kB / 0.7841 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.304e-06/0.361, allocations: 0 / 0.7841 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.464e-06/0.361, allocations: 0 / 0.7841 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.038e-06/0.361, allocations: 1.219 kB / 0.7841 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.622e-05/0.3611, allocations: 21.98 kB / 0.7841 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003424/0.3614, allocations: 264.6 kB / 0.7844 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001053/0.3615, allocations: 45.78 kB / 0.7844 GB, free: 14.42 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.579e-05/0.3616, allocations: 27.81 kB / 0.7845 GB, free: 14.4 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.025e-05/0.3616, allocations: 0 / 0.7845 GB, free: 14.4 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001411/0.3617, allocations: 63.92 kB / 0.7845 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=5): time 3.737e-06/0.3617, allocations: 3.984 kB / 0.7845 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of matching and sorting (n=5): time 0.0002176/0.362, allocations: 90.66 kB / 0.7846 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.122e-05/0.362, allocations: 52.66 kB / 0.7847 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.928e-05/0.3621, allocations: 112.5 kB / 0.7848 GB, free: 14.1 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.806e-05/0.3622, allocations: 27.14 kB / 0.7848 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.695e-05/0.3622, allocations: 85.3 kB / 0.7849 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.447e-05/0.3622, allocations: 18.41 kB / 0.7849 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.058e-05/0.3623, allocations: 21.67 kB / 0.7849 GB, free: 13.94 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001448/0.3624, allocations: 324 kB / 0.7852 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.209e-05/0.3625, allocations: 11 kB / 0.7852 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.844e-05/0.3625, allocations: 14.95 kB / 0.7852 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.231e-05/0.3626, allocations: 30.7 kB / 0.7853 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/0.3626, allocations: 0 / 0.7853 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001093/0.3627, allocations: 70.39 kB / 0.7853 GB, free: 13.53 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.319e-05/0.3627, allocations: 6.625 kB / 0.7853 GB, free: 13.53 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.386e-06/0.3627, allocations: 3.938 kB / 0.7853 GB, free: 13.53 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.033e-05/0.3627, allocations: 4 kB / 0.7854 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.814e-05/0.3628, allocations: 14.48 kB / 0.7854 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.649e-06/0.3628, allocations: 1.5 kB / 0.7854 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.638e-05/0.3629, allocations: 1.625 kB / 0.7854 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.234e-06/0.3629, allocations: 1.625 kB / 0.7854 GB, free: 13.52 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (locTim.tNext,$PRE.locTim.tNext,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * 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 9.051e-05/0.363, allocations: 117.8 kB / 0.7855 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.138e-05/0.363, allocations: 1.594 kB / 0.7855 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.264e-05/0.363, allocations: 9.078 kB / 0.7855 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.363, allocations: 0 / 0.7855 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.363, allocations: 5.188 kB / 0.7855 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.3631, allocations: 0 / 0.7855 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001473/0.3632, allocations: 174.5 kB / 0.7857 GB, free: 13.17 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.3632, allocations: 1.719 kB / 0.7857 GB, free: 13.17 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.884e-05/0.3632, allocations: 7.906 kB / 0.7857 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.3633, allocations: 0 / 0.7857 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.176e-05/0.3633, allocations: 7.984 kB / 0.7857 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.3633, allocations: 1.469 kB / 0.7857 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.3633, allocations: 0 / 0.7857 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001449/0.3634, allocations: 93.31 kB / 0.7858 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.735e-05/0.3635, allocations: 83.81 kB / 0.7859 GB, free: 12.97 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.082e-05/0.3635, allocations: 7.984 kB / 0.7859 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.683e-05/0.3636, allocations: 3.25 kB / 0.7859 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.985e-05/0.3636, allocations: 2.562 kB / 0.7859 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.365e-05/0.3636, allocations: 5.359 kB / 0.7859 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 6.161e-05/0.3637, allocations: 86.12 kB / 0.786 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3637, allocations: 1.188 kB / 0.786 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0001842/0.3639, allocations: 8.219 kB / 0.786 GB, free: 12.88 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,locTim.tNext) * Number of discrete states: 1 (locTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0004613/0.3644, allocations: 0.6445 MB / 0.7866 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.000117/0.3645, allocations: 36.8 kB / 0.7866 GB, free: 12.24 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/0.3645, allocations: 0 / 0.7866 GB, free: 12.24 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 4.17e-05/0.3645, allocations: 18.59 kB / 0.7866 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001529/0.3647, allocations: 18.48 kB / 0.7867 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001162/0.3659, allocations: 1.216 MB / 0.7878 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003112/0.3662, allocations: 0.684 MB / 0.7885 GB, free: 10.34 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 2.437e-05/0.3662, allocations: 6.531 kB / 0.7885 GB, free: 10.33 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.703e-05/0.3663, allocations: 14 kB / 0.7885 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of SimCode: time 2.5e-07/0.3663, allocations: 0 / 0.7885 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02171/0.388, allocations: 1.547 MB / 0.79 GB, free: 9.539 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.655/8.043, allocations: 13.8 kB / 0.7901 GB, free: 9.531 MB / 0.5606 GB (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime_res.csv --start-time 0 --stop-time 172800 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 69.12 BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe 2>&1)