Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.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.EquationOfTime,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_EquationOfTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_EquationOfTime",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.005172/0.005172, allocations: 101 kB / 15.73 MB, free: 6.445 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.00152/0.00152, allocations: 191.5 kB / 16.67 MB, free: 6.348 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.384/1.384, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002471/0.002471, allocations: 279.1 kB / 290.8 MB, free: 1.934 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.04/1.04, allocations: 178.6 MB / 0.5074 GB, free: 4.465 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002692/0.002692, allocations: 101.3 kB / 0.6943 GB, free: 3.566 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4187/0.4214, allocations: 89.13 MB / 0.7813 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime): time 0.002472/0.4239, allocations: 1.453 MB / 0.7828 GB, free: 12.83 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0008114/0.4247, allocations: 0.5112 MB / 0.7833 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.511e-05/0.4247, allocations: 1.25 kB / 0.7833 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.994e-05/0.4248, allocations: 4.734 kB / 0.7833 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001895/0.425, allocations: 21.27 kB / 0.7833 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001046/0.4251, allocations: 26.09 kB / 0.7833 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 8.586e-05/0.4252, allocations: 51.41 kB / 0.7834 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 8.175e-05/0.4253, allocations: 9.641 kB / 0.7834 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 8.331e-05/0.4254, allocations: 21.91 kB / 0.7834 GB, free: 12.4 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 8.591e-05/0.4255, allocations: 30.28 kB / 0.7834 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.662e-05/0.4255, allocations: 4.219 kB / 0.7834 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 1.259e-05/0.4255, allocations: 3.75 kB / 0.7834 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.38e-05/0.4255, allocations: 12.33 kB / 0.7834 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 4.335e-05/0.4256, allocations: 23.86 kB / 0.7835 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 9.353e-05/0.4257, allocations: 45.19 kB / 0.7835 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.4257, allocations: 0.6562 kB / 0.7835 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.143e-06/0.4257, allocations: 1.125 kB / 0.7835 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.439e-06/0.4257, allocations: 0 / 0.7835 GB, free: 12.34 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005731/0.4263, allocations: 350.8 kB / 0.7838 GB, free: 11.99 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.294e-05/0.4263, allocations: 14.61 kB / 0.7839 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.203e-05/0.4264, allocations: 35.5 kB / 0.7839 GB, free: 11.94 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.651e-05/0.4264, allocations: 7.203 kB / 0.7839 GB, free: 11.94 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001397/0.4265, allocations: 166.2 kB / 0.7841 GB, free: 11.74 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.393e-05/0.4266, allocations: 1.906 kB / 0.7841 GB, free: 11.74 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.348e-05/0.4266, allocations: 6.312 kB / 0.7841 GB, free: 11.74 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000123/0.4267, allocations: 62.52 kB / 0.7841 GB, free: 11.69 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.484e-06/0.4267, allocations: 1.281 kB / 0.7841 GB, free: 11.69 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.706e-06/0.4267, allocations: 0 / 0.7841 GB, free: 11.69 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.068e-06/0.4267, allocations: 1.531 kB / 0.7841 GB, free: 11.69 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.704e-05/0.4268, allocations: 32.64 kB / 0.7842 GB, free: 11.68 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003607/0.4272, allocations: 275.2 kB / 0.7844 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002145/0.4274, allocations: 67.31 kB / 0.7845 GB, free: 11.35 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.727e-05/0.4275, allocations: 24.72 kB / 0.7845 GB, free: 11.33 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.428e-05/0.4275, allocations: 1.188 kB / 0.7845 GB, free: 11.33 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001531/0.4277, allocations: 76.58 kB / 0.7846 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=6): time 1.723e-06/0.4277, allocations: 0 / 0.7846 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of matching and sorting (n=6): time 0.0002294/0.4279, allocations: 88.48 kB / 0.7847 GB, free: 11.22 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.013e-05/0.428, allocations: 57.55 kB / 0.7847 GB, free: 11.15 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.766e-05/0.428, allocations: 101.7 kB / 0.7848 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.747e-05/0.4281, allocations: 26.83 kB / 0.7848 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.086e-05/0.4281, allocations: 86.97 kB / 0.7849 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.866e-05/0.4282, allocations: 27.42 kB / 0.785 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.092e-05/0.4282, allocations: 20.33 kB / 0.785 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001372/0.4283, allocations: 317.9 kB / 0.7853 GB, free: 10.57 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.916e-05/0.4284, allocations: 14.84 kB / 0.7853 GB, free: 10.57 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.591e-05/0.4284, allocations: 17.98 kB / 0.7853 GB, free: 10.56 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.25e-05/0.4285, allocations: 36.02 kB / 0.7853 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.656e-06/0.4285, allocations: 0 / 0.7853 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001331/0.4287, allocations: 80.2 kB / 0.7854 GB, free: 10.49 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.225e-05/0.4287, allocations: 5.844 kB / 0.7854 GB, free: 10.49 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.887e-06/0.4287, allocations: 4 kB / 0.7854 GB, free: 10.48 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.046e-05/0.4287, allocations: 1.219 kB / 0.7854 GB, free: 10.48 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.143e-05/0.4288, allocations: 10.41 kB / 0.7854 GB, free: 10.48 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.208e-06/0.4288, allocations: 240 / 0.7854 GB, free: 10.48 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.463e-05/0.4289, allocations: 5.359 kB / 0.7854 GB, free: 10.48 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.778e-06/0.4289, allocations: 2 kB / 0.7854 GB, free: 10.48 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 (eqnTim.tNext,$PRE.eqnTim.tNext,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 8.768e-05/0.429, allocations: 121.8 kB / 0.7856 GB, free: 10.36 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.4e-05/0.429, allocations: 5.047 kB / 0.7856 GB, free: 10.36 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001972/0.4292, allocations: 108.2 kB / 0.7857 GB, free: 10.29 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.4292, allocations: 1.438 kB / 0.7857 GB, free: 10.29 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.4292, allocations: 0.5156 kB / 0.7857 GB, free: 10.29 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.4292, allocations: 1.578 kB / 0.7857 GB, free: 10.29 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000165/0.4294, allocations: 184.8 kB / 0.7858 GB, free: 10.08 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.4294, allocations: 1.281 kB / 0.7858 GB, free: 10.08 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.185e-05/0.4295, allocations: 14.33 kB / 0.7859 GB, free: 10.08 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.973e-06/0.4295, allocations: 0.6562 kB / 0.7859 GB, free: 10.08 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.234e-05/0.4295, allocations: 5.875 kB / 0.7859 GB, free: 10.07 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.4295, allocations: 1.031 kB / 0.7859 GB, free: 10.07 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.4295, allocations: 4 kB / 0.7859 GB, free: 10.07 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001839/0.4297, allocations: 122.8 kB / 0.786 GB, free: 9.977 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.997e-05/0.4298, allocations: 80.89 kB / 0.7861 GB, free: 9.883 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.801e-05/0.4298, allocations: 5.859 kB / 0.7861 GB, free: 9.879 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.86e-05/0.4299, allocations: 7.75 kB / 0.7861 GB, free: 9.875 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.96e-05/0.4299, allocations: 6.281 kB / 0.7861 GB, free: 9.875 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.171e-05/0.4299, allocations: 2.703 kB / 0.7861 GB, free: 9.875 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.91e-05/0.43, allocations: 89.11 kB / 0.7862 GB, free: 9.793 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.5e-07/0.43, allocations: 0 / 0.7862 GB, free: 9.793 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0001905/0.4302, allocations: 13.8 kB / 0.7862 GB, free: 9.789 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,eqnTim.tNext) * Number of discrete states: 1 (eqnTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 8 * 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.0004794/0.4306, allocations: 0.6547 MB / 0.7868 GB, free: 9.172 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001324/0.4308, allocations: 49.53 kB / 0.7869 GB, free: 9.156 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.4308, allocations: 5.062 kB / 0.7869 GB, free: 9.152 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 6.29e-05/0.4309, allocations: 33.48 kB / 0.7869 GB, free: 9.141 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001417/0.431, allocations: 6.656 kB / 0.7869 GB, free: 9.137 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001176/0.4322, allocations: 1.231 MB / 0.7881 GB, free: 7.973 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002849/0.4325, allocations: 0.6834 MB / 0.7888 GB, free: 7.277 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 4.204e-05/0.4325, allocations: 14.3 kB / 0.7888 GB, free: 7.27 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.778e-05/0.4326, allocations: 20.77 kB / 0.7888 GB, free: 7.254 MB / 0.5606 GB Notification: Performance of SimCode: time 2.41e-07/0.4326, allocations: 0 / 0.7888 GB, free: 7.254 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02071/0.4533, allocations: 1.674 MB / 0.7905 GB, free: 6.914 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.61/8.063, allocations: 15.3 kB / 0.7905 GB, free: 6.902 MB / 0.5606 GB (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime_res.csv --start-time 0 --stop-time 86400 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_EquationOfTime.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe 2>&1)