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.0008516/0.0008517, allocations: 98.03 kB / 15.36 MB, free: 0.7305 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.0009255/0.0009255, allocations: 171.2 kB / 16.26 MB, free: 6.664 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.212/1.212, allocations: 223.2 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001663/0.001663, allocations: 274.5 kB / 291.7 MB, free: 1.879 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8536/0.8536, allocations: 169.5 MB / 0.5004 GB, free: 14.12 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003783/0.0003783, allocations: 15.78 kB / 0.5988 GB, free: 28.19 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1253/0.1257, allocations: 88.55 MB / 0.6852 GB, free: 14.96 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime): time 0.00147/0.1272, allocations: 1.166 MB / 0.6864 GB, free: 13.79 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006941/0.1279, allocations: 490 kB / 0.6868 GB, free: 13.3 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.931e-05/0.128, allocations: 0 / 0.6868 GB, free: 13.3 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.502e-05/0.128, allocations: 3.938 kB / 0.6868 GB, free: 13.3 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001973/0.1282, allocations: 29.03 kB / 0.6869 GB, free: 13.27 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001001/0.1283, allocations: 23.28 kB / 0.6869 GB, free: 13.25 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.194e-05/0.1284, allocations: 47.78 kB / 0.6869 GB, free: 13.21 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.894e-05/0.1285, allocations: 11.94 kB / 0.687 GB, free: 13.2 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.994e-05/0.1286, allocations: 15.98 kB / 0.687 GB, free: 13.18 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.02e-05/0.1286, allocations: 23.91 kB / 0.687 GB, free: 13.16 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.437e-05/0.1287, allocations: 0 / 0.687 GB, free: 13.16 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.127e-05/0.1287, allocations: 4 kB / 0.687 GB, free: 13.15 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.159e-05/0.1287, allocations: 11.92 kB / 0.687 GB, free: 13.14 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.489e-05/0.1287, allocations: 46.12 kB / 0.6871 GB, free: 13.09 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 7.579e-05/0.1288, allocations: 40.45 kB / 0.6871 GB, free: 13.05 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.1288, allocations: 0 / 0.6871 GB, free: 13.05 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.1288, allocations: 0.5625 kB / 0.6871 GB, free: 13.05 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.339e-06/0.1289, allocations: 2.156 kB / 0.6871 GB, free: 13.05 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.00047/0.1293, allocations: 352.1 kB / 0.6874 GB, free: 12.66 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.252e-05/0.1294, allocations: 8.031 kB / 0.6874 GB, free: 12.65 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.66e-05/0.1294, allocations: 36.41 kB / 0.6875 GB, free: 12.61 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.302e-05/0.1294, allocations: 4.938 kB / 0.6875 GB, free: 12.61 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001085/0.1296, allocations: 172.4 kB / 0.6876 GB, free: 12.4 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.028e-05/0.1296, allocations: 384 / 0.6876 GB, free: 12.4 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.206e-05/0.1296, allocations: 4.375 kB / 0.6876 GB, free: 12.39 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001038/0.1297, allocations: 58.45 kB / 0.6877 GB, free: 12.33 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.679e-06/0.1297, allocations: 2.188 kB / 0.6877 GB, free: 12.33 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.766e-06/0.1297, allocations: 0 / 0.6877 GB, free: 12.33 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.477e-06/0.1297, allocations: 0 / 0.6877 GB, free: 12.33 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.409e-05/0.1298, allocations: 27.92 kB / 0.6877 GB, free: 12.3 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003129/0.1301, allocations: 283.1 kB / 0.688 GB, free: 11.98 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001825/0.1303, allocations: 62.69 kB / 0.6881 GB, free: 11.91 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.26e-05/0.1304, allocations: 21.62 kB / 0.6881 GB, free: 11.89 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.142e-05/0.1304, allocations: 7.984 kB / 0.6881 GB, free: 11.88 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001357/0.1305, allocations: 72.75 kB / 0.6882 GB, free: 11.8 MB / 494.1 MB Notification: Performance of pre-optimization done (n=6): time 1.253e-06/0.1305, allocations: 0 / 0.6882 GB, free: 11.8 MB / 494.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002018/0.1307, allocations: 90.2 kB / 0.6882 GB, free: 11.7 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.752e-05/0.1308, allocations: 52.62 kB / 0.6883 GB, free: 11.64 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.761e-05/0.1309, allocations: 109.8 kB / 0.6884 GB, free: 11.52 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.632e-05/0.1309, allocations: 26.55 kB / 0.6884 GB, free: 11.49 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.484e-05/0.1309, allocations: 95.92 kB / 0.6885 GB, free: 11.39 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.107e-05/0.1309, allocations: 19.75 kB / 0.6885 GB, free: 11.38 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.476e-05/0.131, allocations: 17.7 kB / 0.6885 GB, free: 11.35 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.532e-05/0.1311, allocations: 318.8 kB / 0.6889 GB, free: 11.03 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.177e-05/0.1311, allocations: 8 kB / 0.6889 GB, free: 11.02 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.207e-05/0.1312, allocations: 27.97 kB / 0.6889 GB, free: 11 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.392e-05/0.1312, allocations: 36.84 kB / 0.6889 GB, free: 10.96 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.1312, allocations: 0 / 0.6889 GB, free: 10.96 MB / 494.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001053/0.1313, allocations: 69.75 kB / 0.689 GB, free: 10.88 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.011e-05/0.1314, allocations: 4 kB / 0.689 GB, free: 10.88 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.246e-06/0.1314, allocations: 4 kB / 0.689 GB, free: 10.88 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.606e-06/0.1314, allocations: 4 kB / 0.689 GB, free: 10.87 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.445e-05/0.1314, allocations: 15.92 kB / 0.689 GB, free: 10.86 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.317e-06/0.1315, allocations: 0 / 0.689 GB, free: 10.86 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.075e-05/0.1315, allocations: 4 kB / 0.689 GB, free: 10.85 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.923e-06/0.1315, allocations: 256 / 0.689 GB, free: 10.85 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 7.355e-05/0.1316, allocations: 119.1 kB / 0.6891 GB, free: 10.73 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.378e-05/0.1316, allocations: 7.891 kB / 0.6891 GB, free: 10.72 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001672/0.1318, allocations: 109.5 kB / 0.6892 GB, free: 10.61 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/0.1318, allocations: 7.984 kB / 0.6893 GB, free: 10.6 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.1318, allocations: 0 / 0.6893 GB, free: 10.6 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.1318, allocations: 0 / 0.6893 GB, free: 10.6 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001204/0.132, allocations: 185.5 kB / 0.6894 GB, free: 10.37 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.41e-07/0.132, allocations: 0 / 0.6894 GB, free: 10.37 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.451e-05/0.132, allocations: 11.98 kB / 0.6894 GB, free: 10.36 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.132, allocations: 0 / 0.6894 GB, free: 10.36 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.514e-06/0.132, allocations: 0 / 0.6894 GB, free: 10.36 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.1321, allocations: 4 kB / 0.6894 GB, free: 10.35 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.1321, allocations: 4 kB / 0.6894 GB, free: 10.35 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001448/0.1322, allocations: 120.9 kB / 0.6896 GB, free: 10.21 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.954e-05/0.1323, allocations: 85.09 kB / 0.6896 GB, free: 10.11 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.443e-05/0.1323, allocations: 0 / 0.6896 GB, free: 10.11 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.403e-05/0.1324, allocations: 8 kB / 0.6897 GB, free: 10.1 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.03e-05/0.1324, allocations: 11.92 kB / 0.6897 GB, free: 10.09 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.178e-06/0.1324, allocations: 0 / 0.6897 GB, free: 10.09 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.641e-05/0.1325, allocations: 87.28 kB / 0.6897 GB, free: 10 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1325, allocations: 3.938 kB / 0.6898 GB, free: 10 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001722/0.1326, allocations: 12 kB / 0.6898 GB, free: 9.988 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.000372/0.133, allocations: 0.6591 MB / 0.6904 GB, free: 9.301 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001034/0.1331, allocations: 52.14 kB / 0.6905 GB, free: 9.25 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.1331, allocations: 4 kB / 0.6905 GB, free: 9.246 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 5.247e-05/0.1332, allocations: 31.98 kB / 0.6905 GB, free: 9.215 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001263/0.1333, allocations: 4 kB / 0.6905 GB, free: 9.211 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009698/0.1343, allocations: 1.24 MB / 0.6917 GB, free: 7.891 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000203/0.1345, allocations: 0.6809 MB / 0.6924 GB, free: 7.184 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 4.489e-05/0.1346, allocations: 16.39 kB / 0.6924 GB, free: 7.168 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.056e-05/0.1346, allocations: 19.44 kB / 0.6924 GB, free: 7.148 MB / 494.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1346, allocations: 0 / 0.6924 GB, free: 7.148 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04786/0.1825, allocations: 1.429 MB / 0.6938 GB, free: 5.941 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002149/0.1827, allocations: 248.5 kB / 0.694 GB, free: 5.68 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.509/1.692, allocations: 0 / 0.694 GB, free: 5.68 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_EquationOfTime_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_EquationOfTime.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe 2>&1)