Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_EquationOfTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime,fileNamePrefix="IBPSA_latest_IBPSA_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.001103/0.001103, allocations: 101.2 kB / 16.27 MB, free: 5.969 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.001123/0.001124, allocations: 192 kB / 17.2 MB, free: 5.598 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.234/1.234, allocations: 222.9 MB / 240.9 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.707/0.707, allocations: 122.9 MB / 413.9 MB, free: 15.81 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001212/0.001212, allocations: 67.84 kB / 0.4912 GB, free: 7.336 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.319/0.3202, allocations: 77.92 MB / 0.5673 GB, free: 32.82 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime): time 0.002527/0.3228, allocations: 1.437 MB / 0.5687 GB, free: 31.82 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007218/0.3235, allocations: 0.5028 MB / 0.5692 GB, free: 31.47 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.704e-05/0.3236, allocations: 1.938 kB / 0.5692 GB, free: 31.47 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.849e-05/0.3236, allocations: 5.062 kB / 0.5692 GB, free: 31.47 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002052/0.3238, allocations: 27.44 kB / 0.5692 GB, free: 31.45 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001002/0.3239, allocations: 22.53 kB / 0.5692 GB, free: 31.44 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 8.668e-05/0.324, allocations: 48.97 kB / 0.5693 GB, free: 31.42 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.245e-05/0.3241, allocations: 11.83 kB / 0.5693 GB, free: 31.41 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.655e-05/0.3242, allocations: 26.14 kB / 0.5693 GB, free: 31.4 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.893e-05/0.3243, allocations: 22.72 kB / 0.5693 GB, free: 31.39 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.751e-05/0.3244, allocations: 4.312 kB / 0.5693 GB, free: 31.39 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.273e-05/0.3244, allocations: 2.75 kB / 0.5693 GB, free: 31.39 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 2.61e-05/0.3244, allocations: 15.25 kB / 0.5694 GB, free: 31.39 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.676e-05/0.3245, allocations: 20.14 kB / 0.5694 GB, free: 31.38 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 9.239e-05/0.3246, allocations: 43.55 kB / 0.5694 GB, free: 31.36 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.3246, allocations: 0 / 0.5694 GB, free: 31.36 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.3246, allocations: 1.938 kB / 0.5694 GB, free: 31.36 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.877e-06/0.3246, allocations: 0 / 0.5694 GB, free: 31.36 MB / 446.1 MB 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.0005155/0.3251, allocations: 354.8 kB / 0.5698 GB, free: 31 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.457e-05/0.3252, allocations: 10.16 kB / 0.5698 GB, free: 31 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.581e-05/0.3252, allocations: 38.36 kB / 0.5698 GB, free: 30.95 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.99e-05/0.3252, allocations: 7.562 kB / 0.5698 GB, free: 30.95 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.389e-05/0.3253, allocations: 165.2 kB / 0.57 GB, free: 30.75 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.069e-05/0.3254, allocations: 6.594 kB / 0.57 GB, free: 30.75 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.358e-05/0.3254, allocations: 10.88 kB / 0.57 GB, free: 30.74 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001351/0.3255, allocations: 58.12 kB / 0.57 GB, free: 30.7 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.225e-06/0.3255, allocations: 2.938 kB / 0.57 GB, free: 30.7 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.205e-05/0.3256, allocations: 1.031 kB / 0.57 GB, free: 30.7 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-06/0.3256, allocations: 1.156 kB / 0.57 GB, free: 30.7 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.165e-05/0.3256, allocations: 24.7 kB / 0.5701 GB, free: 30.69 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003022/0.326, allocations: 283.5 kB / 0.5703 GB, free: 30.4 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002054/0.3262, allocations: 65.83 kB / 0.5704 GB, free: 30.36 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.326e-05/0.3262, allocations: 24.2 kB / 0.5704 GB, free: 30.35 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.5e-05/0.3263, allocations: 0 / 0.5704 GB, free: 30.35 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001365/0.3264, allocations: 72.22 kB / 0.5705 GB, free: 30.29 MB / 446.1 MB Notification: Performance of pre-optimization done (n=6): time 1.332e-06/0.3264, allocations: 0 / 0.5705 GB, free: 30.29 MB / 446.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002373/0.3266, allocations: 95.72 kB / 0.5706 GB, free: 30.23 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.996e-05/0.3267, allocations: 52.66 kB / 0.5706 GB, free: 30.17 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.733e-05/0.3267, allocations: 101.7 kB / 0.5707 GB, free: 30.07 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.027e-06/0.3267, allocations: 28.48 kB / 0.5708 GB, free: 30.04 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.134e-05/0.3268, allocations: 82.83 kB / 0.5708 GB, free: 29.96 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.396e-05/0.3268, allocations: 20.78 kB / 0.5709 GB, free: 29.94 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.792e-05/0.3269, allocations: 21.73 kB / 0.5709 GB, free: 29.92 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.147e-05/0.3269, allocations: 316.1 kB / 0.5712 GB, free: 29.61 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.065e-05/0.3269, allocations: 22.94 kB / 0.5712 GB, free: 29.59 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.222e-05/0.327, allocations: 15.38 kB / 0.5712 GB, free: 29.59 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.241e-05/0.3271, allocations: 36.28 kB / 0.5713 GB, free: 29.57 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.263e-06/0.3271, allocations: 0 / 0.5713 GB, free: 29.57 MB / 446.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001213/0.3272, allocations: 77.31 kB / 0.5713 GB, free: 29.52 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.378e-05/0.3272, allocations: 5.781 kB / 0.5713 GB, free: 29.52 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.517e-06/0.3272, allocations: 0 / 0.5713 GB, free: 29.52 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.083e-05/0.3272, allocations: 2 kB / 0.5713 GB, free: 29.52 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.4e-05/0.3273, allocations: 16.2 kB / 0.5714 GB, free: 29.52 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.049e-06/0.3273, allocations: 0 / 0.5714 GB, free: 29.52 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.577e-05/0.3274, allocations: 9.172 kB / 0.5714 GB, free: 29.51 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.566e-06/0.3274, allocations: 1.953 kB / 0.5714 GB, free: 29.51 MB / 446.1 MB 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 5.106e-05/0.3275, allocations: 118.6 kB / 0.5715 GB, free: 29.39 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.542e-05/0.3275, allocations: 2.25 kB / 0.5715 GB, free: 29.39 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002083/0.3277, allocations: 113.3 kB / 0.5716 GB, free: 29.32 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.596e-06/0.3277, allocations: 1.734 kB / 0.5716 GB, free: 29.32 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.067e-06/0.3277, allocations: 8.719 kB / 0.5716 GB, free: 29.31 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.11e-06/0.3278, allocations: 1.359 kB / 0.5716 GB, free: 29.31 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.475e-05/0.3279, allocations: 184.7 kB / 0.5718 GB, free: 29.11 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.3279, allocations: 1.594 kB / 0.5718 GB, free: 29.11 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.408e-05/0.3279, allocations: 11.5 kB / 0.5718 GB, free: 29.11 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.3279, allocations: 3.375 kB / 0.5718 GB, free: 29.11 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.626e-06/0.328, allocations: 0.5625 kB / 0.5718 GB, free: 29.11 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.123e-06/0.328, allocations: 1.281 kB / 0.5718 GB, free: 29.11 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.328, allocations: 0.75 kB / 0.5718 GB, free: 29.11 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001571/0.3281, allocations: 119.1 kB / 0.5719 GB, free: 29.02 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.33e-05/0.3282, allocations: 84.59 kB / 0.572 GB, free: 28.92 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.015e-05/0.3282, allocations: 5.5 kB / 0.572 GB, free: 28.91 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.582e-05/0.3283, allocations: 4.547 kB / 0.572 GB, free: 28.91 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.666e-05/0.3283, allocations: 7.406 kB / 0.572 GB, free: 28.91 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.186e-05/0.3283, allocations: 2.875 kB / 0.572 GB, free: 28.91 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.142e-05/0.3284, allocations: 85.03 kB / 0.5721 GB, free: 28.84 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3284, allocations: 5.844 kB / 0.5721 GB, free: 28.83 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000197/0.3286, allocations: 9.031 kB / 0.5721 GB, free: 28.83 MB / 446.1 MB 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.0003405/0.3289, allocations: 0.6564 MB / 0.5727 GB, free: 28.21 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001401/0.3291, allocations: 52.66 kB / 0.5728 GB, free: 28.2 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.3291, allocations: 0.875 kB / 0.5728 GB, free: 28.2 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 6.29e-05/0.3292, allocations: 33.91 kB / 0.5728 GB, free: 28.19 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001409/0.3293, allocations: 10.25 kB / 0.5728 GB, free: 28.18 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009217/0.3302, allocations: 1.232 MB / 0.574 GB, free: 27.03 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001108/0.3304, allocations: 0.6893 MB / 0.5747 GB, free: 26.33 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.816e-05/0.3304, allocations: 9.875 kB / 0.5747 GB, free: 26.32 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.494e-05/0.3305, allocations: 18 kB / 0.5747 GB, free: 26.31 MB / 446.1 MB Notification: Performance of SimCode: time 2.7e-07/0.3305, allocations: 2.25 kB / 0.5747 GB, free: 26.31 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01674/0.3472, allocations: 1.617 MB / 0.5763 GB, free: 26.01 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.91/7.258, allocations: 16.59 kB / 0.5763 GB, free: 26 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.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 IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_EquationOfTime.fmu > IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe 2>&1)