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.001505/0.001505, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001464/0.001464, allocations: 198.5 kB / 16.54 MB, free: 6.672 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.366/1.366, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002462/0.002462, allocations: 278.9 kB / 290.7 MB, free: 2.004 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9903/0.9903, allocations: 169.3 MB / 0.4982 GB, free: 13.87 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002723/0.002723, allocations: 102.7 kB / 0.5954 GB, free: 27.67 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1318/0.1345, allocations: 86.98 MB / 0.6803 GB, free: 0.5625 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime): time 0.002572/0.1371, allocations: 1.439 MB / 0.6817 GB, free: 15.12 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007896/0.1379, allocations: 0.5008 MB / 0.6822 GB, free: 14.62 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.299e-05/0.138, allocations: 0 / 0.6822 GB, free: 14.62 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.758e-05/0.138, allocations: 0 / 0.6822 GB, free: 14.62 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001828/0.1382, allocations: 30.33 kB / 0.6822 GB, free: 14.59 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.506e-05/0.1383, allocations: 31.91 kB / 0.6823 GB, free: 14.56 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.938e-05/0.1384, allocations: 51.78 kB / 0.6823 GB, free: 14.51 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.03e-05/0.1385, allocations: 12.58 kB / 0.6823 GB, free: 14.5 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.122e-05/0.1386, allocations: 23.98 kB / 0.6823 GB, free: 14.48 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.127e-05/0.1386, allocations: 24.5 kB / 0.6824 GB, free: 14.45 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.253e-05/0.1387, allocations: 4.875 kB / 0.6824 GB, free: 14.45 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.431e-05/0.1387, allocations: 7.938 kB / 0.6824 GB, free: 14.44 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.525e-05/0.1387, allocations: 11.92 kB / 0.6824 GB, free: 14.43 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.069e-05/0.1388, allocations: 17.16 kB / 0.6824 GB, free: 14.41 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 8.382e-05/0.1389, allocations: 43.86 kB / 0.6824 GB, free: 14.37 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.025e-06/0.1389, allocations: 0 / 0.6824 GB, free: 14.37 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.1389, allocations: 0.8438 kB / 0.6824 GB, free: 14.37 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.937e-06/0.1389, allocations: 0 / 0.6824 GB, free: 14.37 MB / 494.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.0005699/0.1395, allocations: 355.9 kB / 0.6828 GB, free: 13.98 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.458e-05/0.1395, allocations: 12.03 kB / 0.6828 GB, free: 13.96 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.091e-05/0.1395, allocations: 30.75 kB / 0.6828 GB, free: 13.93 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.677e-05/0.1396, allocations: 4.938 kB / 0.6828 GB, free: 13.92 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001489/0.1397, allocations: 172.3 kB / 0.683 GB, free: 13.71 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.494e-05/0.1397, allocations: 4.375 kB / 0.683 GB, free: 13.71 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.357e-06/0.1398, allocations: 4.375 kB / 0.683 GB, free: 13.71 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001224/0.1399, allocations: 61.73 kB / 0.6831 GB, free: 13.64 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.374e-06/0.1399, allocations: 4 kB / 0.6831 GB, free: 13.64 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.418e-06/0.1399, allocations: 0 / 0.6831 GB, free: 13.64 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.1399, allocations: 0 / 0.6831 GB, free: 13.64 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.982e-05/0.14, allocations: 27.98 kB / 0.6831 GB, free: 13.61 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003694/0.1404, allocations: 272.8 kB / 0.6833 GB, free: 13.29 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002115/0.1406, allocations: 70.62 kB / 0.6834 GB, free: 13.21 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.757e-05/0.1407, allocations: 20.84 kB / 0.6834 GB, free: 13.19 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.164e-05/0.1407, allocations: 4.062 kB / 0.6834 GB, free: 13.19 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001543/0.1408, allocations: 71.38 kB / 0.6835 GB, free: 13.11 MB / 494.1 MB Notification: Performance of pre-optimization done (n=6): time 1.432e-06/0.1408, allocations: 0 / 0.6835 GB, free: 13.11 MB / 494.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002338/0.1411, allocations: 89.61 kB / 0.6836 GB, free: 13.01 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.138e-05/0.1411, allocations: 51.41 kB / 0.6836 GB, free: 12.95 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.873e-05/0.1412, allocations: 109.8 kB / 0.6837 GB, free: 12.83 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.308e-05/0.1413, allocations: 25.7 kB / 0.6838 GB, free: 12.8 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.892e-05/0.1413, allocations: 91.98 kB / 0.6839 GB, free: 12.71 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.302e-05/0.1413, allocations: 15.75 kB / 0.6839 GB, free: 12.69 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.318e-05/0.1414, allocations: 25.64 kB / 0.6839 GB, free: 12.66 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001353/0.1415, allocations: 322.8 kB / 0.6842 GB, free: 12.34 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.919e-05/0.1416, allocations: 15.98 kB / 0.6842 GB, free: 12.32 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.147e-05/0.1416, allocations: 12 kB / 0.6842 GB, free: 12.31 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.557e-05/0.1417, allocations: 40.84 kB / 0.6843 GB, free: 12.27 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.1417, allocations: 0 / 0.6843 GB, free: 12.27 MB / 494.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001293/0.1418, allocations: 73.62 kB / 0.6843 GB, free: 12.19 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.168e-05/0.1419, allocations: 4 kB / 0.6843 GB, free: 12.18 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.1419, allocations: 4 kB / 0.6844 GB, free: 12.18 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.278e-05/0.1419, allocations: 3.984 kB / 0.6844 GB, free: 12.18 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.346e-05/0.142, allocations: 8 kB / 0.6844 GB, free: 12.17 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.556e-06/0.142, allocations: 0 / 0.6844 GB, free: 12.17 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.217e-05/0.142, allocations: 7.906 kB / 0.6844 GB, free: 12.16 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.026e-05/0.1421, allocations: 3.984 kB / 0.6844 GB, free: 12.16 MB / 494.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 9.009e-05/0.1422, allocations: 123.1 kB / 0.6845 GB, free: 12.03 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.29e-05/0.1422, allocations: 0 / 0.6845 GB, free: 12.03 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001989/0.1424, allocations: 101.6 kB / 0.6846 GB, free: 11.92 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.1424, allocations: 0 / 0.6846 GB, free: 11.92 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.996e-06/0.1424, allocations: 192 / 0.6846 GB, free: 11.92 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.1424, allocations: 0 / 0.6846 GB, free: 11.92 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001651/0.1426, allocations: 197.7 kB / 0.6848 GB, free: 11.68 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.1426, allocations: 0 / 0.6848 GB, free: 11.68 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.599e-05/0.1427, allocations: 19.94 kB / 0.6848 GB, free: 11.66 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.1427, allocations: 0 / 0.6848 GB, free: 11.66 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.312e-05/0.1427, allocations: 7.984 kB / 0.6848 GB, free: 11.65 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.512e-06/0.1427, allocations: 4 kB / 0.6848 GB, free: 11.65 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.1427, allocations: 0 / 0.6848 GB, free: 11.65 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001835/0.1429, allocations: 120.9 kB / 0.6849 GB, free: 11.51 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.762e-05/0.1429, allocations: 81.2 kB / 0.685 GB, free: 11.41 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.104e-05/0.143, allocations: 4 kB / 0.685 GB, free: 11.41 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.81e-05/0.143, allocations: 7.938 kB / 0.685 GB, free: 11.4 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.415e-05/0.1431, allocations: 11.98 kB / 0.685 GB, free: 11.39 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.167e-05/0.1431, allocations: 4 kB / 0.685 GB, free: 11.39 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.95e-05/0.1432, allocations: 83.27 kB / 0.6851 GB, free: 11.3 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1432, allocations: 3.938 kB / 0.6851 GB, free: 11.3 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001946/0.1434, allocations: 12 kB / 0.6851 GB, free: 11.29 MB / 494.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.0004907/0.1439, allocations: 0.6592 MB / 0.6858 GB, free: 10.6 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001438/0.144, allocations: 55.91 kB / 0.6858 GB, free: 10.55 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.144, allocations: 0 / 0.6858 GB, free: 10.55 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 6.491e-05/0.1441, allocations: 31.94 kB / 0.6858 GB, free: 10.52 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001389/0.1442, allocations: 4.734 kB / 0.6859 GB, free: 10.51 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001245/0.1455, allocations: 1.224 MB / 0.687 GB, free: 9.207 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003243/0.1458, allocations: 0.6885 MB / 0.6877 GB, free: 8.492 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 4.073e-05/0.1459, allocations: 4 kB / 0.6877 GB, free: 8.488 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.107e-05/0.1459, allocations: 23.42 kB / 0.6877 GB, free: 8.465 MB / 494.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1459, allocations: 0 / 0.6877 GB, free: 8.465 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02062/0.1666, allocations: 1.655 MB / 0.6894 GB, free: 6.977 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.543/7.709, allocations: 11.48 kB / 0.6894 GB, free: 6.973 MB / 494.1 MB (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)