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.003527/0.003527, allocations: 99.95 kB / 15.73 MB, free: 6.062 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.0009546/0.0009546, allocations: 189.6 kB / 16.67 MB, free: 5.973 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.179/1.179, allocations: 222.9 MB / 240.4 MB, free: 4.152 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001917/0.001917, allocations: 271.1 kB / 290.8 MB, free: 1.766 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8614/0.8614, allocations: 169.3 MB / 0.4983 GB, free: 13.79 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00157/0.001571, allocations: 92.08 kB / 0.681 GB, free: 15.95 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1298/0.1313, allocations: 86.97 MB / 0.7659 GB, free: 8.898 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime): time 0.002194/0.1336, allocations: 1.452 MB / 0.7673 GB, free: 7.441 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0006711/0.1342, allocations: 0.5109 MB / 0.7678 GB, free: 6.926 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.061e-05/0.1343, allocations: 0 / 0.7678 GB, free: 6.926 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.435e-05/0.1343, allocations: 0 / 0.7678 GB, free: 6.926 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001754/0.1345, allocations: 19.86 kB / 0.7678 GB, free: 6.906 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 9.419e-05/0.1346, allocations: 31.89 kB / 0.7679 GB, free: 6.875 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 7.522e-05/0.1347, allocations: 47.86 kB / 0.7679 GB, free: 6.828 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 7.332e-05/0.1348, allocations: 12.2 kB / 0.7679 GB, free: 6.816 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 7.311e-05/0.1348, allocations: 23.97 kB / 0.768 GB, free: 6.793 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 7.207e-05/0.1349, allocations: 27.91 kB / 0.768 GB, free: 6.766 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.997e-05/0.1349, allocations: 4 kB / 0.768 GB, free: 6.762 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 1.051e-05/0.135, allocations: 4 kB / 0.768 GB, free: 6.758 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.467e-05/0.135, allocations: 19.86 kB / 0.768 GB, free: 6.738 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.484e-05/0.135, allocations: 15.92 kB / 0.768 GB, free: 6.723 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 8.151e-05/0.1351, allocations: 43.81 kB / 0.7681 GB, free: 6.68 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 2.845e-06/0.1351, allocations: 0 / 0.7681 GB, free: 6.68 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.062e-06/0.1351, allocations: 0 / 0.7681 GB, free: 6.68 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.368e-06/0.1351, allocations: 0 / 0.7681 GB, free: 6.68 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.000497/0.1356, allocations: 359.4 kB / 0.7684 GB, free: 6.281 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.03e-05/0.1357, allocations: 8.031 kB / 0.7684 GB, free: 6.273 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.835e-05/0.1357, allocations: 34.75 kB / 0.7684 GB, free: 6.23 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.421e-05/0.1357, allocations: 4.891 kB / 0.7685 GB, free: 6.227 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001057/0.1358, allocations: 176.3 kB / 0.7686 GB, free: 6.016 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.299e-05/0.1359, allocations: 4.359 kB / 0.7686 GB, free: 6.012 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.395e-05/0.1359, allocations: 4.375 kB / 0.7686 GB, free: 6.008 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001046/0.136, allocations: 65.73 kB / 0.7687 GB, free: 5.938 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.572e-06/0.136, allocations: 3.938 kB / 0.7687 GB, free: 5.934 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.636e-06/0.136, allocations: 0 / 0.7687 GB, free: 5.934 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.537e-06/0.136, allocations: 0 / 0.7687 GB, free: 5.934 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.168e-05/0.1361, allocations: 23.98 kB / 0.7687 GB, free: 5.91 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002982/0.1364, allocations: 276.8 kB / 0.769 GB, free: 5.59 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001907/0.1366, allocations: 66.62 kB / 0.769 GB, free: 5.516 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.208e-05/0.1366, allocations: 24.84 kB / 0.7691 GB, free: 5.488 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.143e-05/0.1367, allocations: 0 / 0.7691 GB, free: 5.488 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001401/0.1368, allocations: 71.33 kB / 0.7691 GB, free: 5.406 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=6): time 1.102e-06/0.1368, allocations: 0 / 0.7691 GB, free: 5.406 MB / 0.5606 GB Notification: Performance of matching and sorting (n=6): time 0.0001973/0.137, allocations: 93.61 kB / 0.7692 GB, free: 5.309 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.76e-05/0.1371, allocations: 51.41 kB / 0.7693 GB, free: 5.246 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.798e-05/0.1371, allocations: 109.8 kB / 0.7694 GB, free: 5.129 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.199e-05/0.1371, allocations: 29.64 kB / 0.7694 GB, free: 5.094 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.057e-05/0.1372, allocations: 84.14 kB / 0.7695 GB, free: 5.008 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.258e-05/0.1372, allocations: 15.86 kB / 0.7695 GB, free: 4.992 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.513e-05/0.1372, allocations: 21.7 kB / 0.7695 GB, free: 4.965 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.534e-05/0.1373, allocations: 322.8 kB / 0.7698 GB, free: 4.641 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.589e-05/0.1374, allocations: 16.05 kB / 0.7698 GB, free: 4.625 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.868e-05/0.1374, allocations: 16 kB / 0.7699 GB, free: 4.609 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.571e-05/0.1375, allocations: 41.09 kB / 0.7699 GB, free: 4.566 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.1375, allocations: 0 / 0.7699 GB, free: 4.566 MB / 0.5606 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001083/0.1376, allocations: 73.62 kB / 0.77 GB, free: 4.488 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/0.1376, allocations: 4 kB / 0.77 GB, free: 4.484 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.386e-06/0.1376, allocations: 0 / 0.77 GB, free: 4.484 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.044e-05/0.1377, allocations: 4 kB / 0.77 GB, free: 4.48 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.22e-05/0.1377, allocations: 11.98 kB / 0.77 GB, free: 4.469 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.657e-06/0.1377, allocations: 0 / 0.77 GB, free: 4.469 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.547e-05/0.1378, allocations: 7.938 kB / 0.77 GB, free: 4.461 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.009e-05/0.1378, allocations: 7.984 kB / 0.77 GB, free: 4.453 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 6.567e-05/0.1379, allocations: 122.4 kB / 0.7701 GB, free: 4.324 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.336e-05/0.1379, allocations: 3.953 kB / 0.7701 GB, free: 4.32 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001761/0.1381, allocations: 101.6 kB / 0.7702 GB, free: 4.215 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.1381, allocations: 0 / 0.7702 GB, free: 4.215 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.046e-06/0.1381, allocations: 0 / 0.7702 GB, free: 4.215 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.484e-06/0.1381, allocations: 96 / 0.7702 GB, free: 4.215 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001209/0.1382, allocations: 189.5 kB / 0.7704 GB, free: 3.98 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.1383, allocations: 4 kB / 0.7704 GB, free: 3.977 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.117e-05/0.1383, allocations: 15.94 kB / 0.7704 GB, free: 3.961 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.1383, allocations: 192 / 0.7704 GB, free: 3.961 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.845e-06/0.1383, allocations: 0 / 0.7704 GB, free: 3.961 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.036e-06/0.1384, allocations: 3.984 kB / 0.7704 GB, free: 3.957 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.1384, allocations: 4 kB / 0.7704 GB, free: 3.953 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001482/0.1385, allocations: 124.9 kB / 0.7706 GB, free: 3.812 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.751e-05/0.1386, allocations: 81.11 kB / 0.7706 GB, free: 3.715 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.759e-05/0.1386, allocations: 4 kB / 0.7706 GB, free: 3.711 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.627e-05/0.1386, allocations: 4 kB / 0.7706 GB, free: 3.707 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.063e-05/0.1387, allocations: 7.984 kB / 0.7706 GB, free: 3.699 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.367e-05/0.1387, allocations: 8 kB / 0.7707 GB, free: 3.691 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.381e-05/0.1387, allocations: 87.2 kB / 0.7707 GB, free: 3.605 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.1387, allocations: 0 / 0.7707 GB, free: 3.605 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0001883/0.1389, allocations: 15.95 kB / 0.7708 GB, free: 3.59 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.0003851/0.1393, allocations: 0.6593 MB / 0.7714 GB, free: 2.902 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001151/0.1395, allocations: 48.16 kB / 0.7714 GB, free: 2.855 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.343e-06/0.1395, allocations: 0 / 0.7714 GB, free: 2.855 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 6.106e-05/0.1395, allocations: 32.11 kB / 0.7715 GB, free: 2.824 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000133/0.1397, allocations: 13.34 kB / 0.7715 GB, free: 2.812 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009548/0.1406, allocations: 1.243 MB / 0.7727 GB, free: 1.48 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000195/0.1408, allocations: 0.6807 MB / 0.7734 GB, free: 0.7734 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.991e-05/0.1409, allocations: 15.73 kB / 0.7734 GB, free: 0.7578 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.244e-05/0.1409, allocations: 19.44 kB / 0.7734 GB, free: 0.7383 MB / 0.5606 GB Notification: Performance of SimCode: time 2.3e-07/0.1409, allocations: 0 / 0.7734 GB, free: 0.7383 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2721/0.413, allocations: 1.66 MB / 0.775 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.596/7.009, allocations: 7.266 kB / 0.775 GB, free: 14.36 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)