Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime",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.001353/0.001353, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001198/0.001198, allocations: 197.9 kB / 16.14 MB, free: 6.688 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.209/1.209, allocations: 222.9 MB / 239.8 MB, free: 4.629 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8198/0.8198, allocations: 135.1 MB / 425.1 MB, free: 11.91 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001105/0.001105, allocations: 67.91 kB / 0.5048 GB, free: 5.652 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1245/0.1256, allocations: 80.92 MB / 0.5838 GB, free: 4.895 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime): time 0.002263/0.1279, allocations: 1.492 MB / 0.5853 GB, free: 3.387 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003267/0.1283, allocations: 175.5 kB / 0.5854 GB, free: 3.215 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.073e-05/0.1283, allocations: 4 kB / 0.5854 GB, free: 3.211 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.005e-05/0.1283, allocations: 11.86 kB / 0.5855 GB, free: 3.199 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001682/0.1285, allocations: 7.938 kB / 0.5855 GB, free: 3.191 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000168/0.1287, allocations: 55.42 kB / 0.5855 GB, free: 3.141 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.747e-05/0.1288, allocations: 51.86 kB / 0.5856 GB, free: 3.09 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.001e-05/0.1288, allocations: 7.984 kB / 0.5856 GB, free: 3.082 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.296e-05/0.1289, allocations: 19.92 kB / 0.5856 GB, free: 3.062 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.972e-05/0.1289, allocations: 19.92 kB / 0.5856 GB, free: 3.043 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.747e-05/0.129, allocations: 0 / 0.5856 GB, free: 3.043 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.565e-05/0.129, allocations: 4 kB / 0.5856 GB, free: 3.039 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.113e-05/0.129, allocations: 7.969 kB / 0.5856 GB, free: 3.031 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.852e-05/0.1291, allocations: 19.92 kB / 0.5856 GB, free: 3.012 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 7.647e-05/0.1291, allocations: 44.09 kB / 0.5857 GB, free: 2.969 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.1292, allocations: 0 / 0.5857 GB, free: 2.969 MB / 494.1 MB Notification: Performance of FrontEnd: time 6.71e-07/0.1292, allocations: 4 kB / 0.5857 GB, free: 2.965 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.765e-06/0.1292, allocations: 0 / 0.5857 GB, free: 2.965 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004275/0.1296, allocations: 343.5 kB / 0.586 GB, free: 2.578 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.019e-05/0.1296, allocations: 8.031 kB / 0.586 GB, free: 2.57 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.425e-05/0.1297, allocations: 38.75 kB / 0.5861 GB, free: 2.523 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.677e-05/0.1297, allocations: 0.9375 kB / 0.5861 GB, free: 2.523 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001029/0.1298, allocations: 180.2 kB / 0.5862 GB, free: 2.309 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.042e-05/0.1298, allocations: 384 / 0.5862 GB, free: 2.309 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.784e-06/0.1298, allocations: 384 / 0.5862 GB, free: 2.309 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001168/0.13, allocations: 72.81 kB / 0.5863 GB, free: 2.223 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.142e-06/0.13, allocations: 3.938 kB / 0.5863 GB, free: 2.219 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.237e-05/0.13, allocations: 4 kB / 0.5863 GB, free: 2.215 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.387e-06/0.13, allocations: 0 / 0.5863 GB, free: 2.215 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.452e-05/0.13, allocations: 15.98 kB / 0.5863 GB, free: 2.199 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003354/0.1304, allocations: 268.9 kB / 0.5866 GB, free: 1.887 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.909e-05/0.1305, allocations: 38.52 kB / 0.5866 GB, free: 1.84 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.226e-05/0.1305, allocations: 20.94 kB / 0.5866 GB, free: 1.816 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.885e-06/0.1305, allocations: 0 / 0.5866 GB, free: 1.816 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001206/0.1307, allocations: 63.39 kB / 0.5867 GB, free: 1.742 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.1307, allocations: 0 / 0.5867 GB, free: 1.742 MB / 494.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001744/0.1308, allocations: 81.52 kB / 0.5868 GB, free: 1.656 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.629e-05/0.1309, allocations: 106.8 kB / 0.5869 GB, free: 1.527 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.712e-05/0.131, allocations: 105.8 kB / 0.587 GB, free: 1.414 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.521e-05/0.131, allocations: 25.7 kB / 0.587 GB, free: 1.383 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.521e-05/0.131, allocations: 88.12 kB / 0.5871 GB, free: 1.293 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.557e-05/0.1311, allocations: 7.906 kB / 0.5871 GB, free: 1.285 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.732e-05/0.1311, allocations: 21.7 kB / 0.5871 GB, free: 1.258 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.342e-05/0.1312, allocations: 310.8 kB / 0.5874 GB, free: 0.9453 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.815e-05/0.1312, allocations: 16 kB / 0.5874 GB, free: 0.9297 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.541e-05/0.1313, allocations: 38.5 kB / 0.5875 GB, free: 0.8828 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.755e-05/0.1313, allocations: 33.11 kB / 0.5875 GB, free: 0.8477 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.1313, allocations: 0 / 0.5875 GB, free: 0.8477 MB / 494.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.266e-05/0.1314, allocations: 61.69 kB / 0.5876 GB, free: 0.7812 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.087e-06/0.1314, allocations: 4 kB / 0.5876 GB, free: 0.7773 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.516e-06/0.1314, allocations: 0 / 0.5876 GB, free: 0.7773 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.975e-06/0.1315, allocations: 0 / 0.5876 GB, free: 0.7773 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.971e-05/0.1315, allocations: 16.02 kB / 0.5876 GB, free: 0.7617 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.048e-06/0.1315, allocations: 0 / 0.5876 GB, free: 0.7617 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001047/0.1316, allocations: 7.906 kB / 0.5876 GB, free: 0.7539 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.022e-05/0.1317, allocations: 7.984 kB / 0.5876 GB, free: 0.7461 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 (conTim.tNext,$PRE.conTim.tNext,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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.035e-05/0.1317, allocations: 117.7 kB / 0.5877 GB, free: 0.6211 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.565e-05/0.1318, allocations: 4 kB / 0.5877 GB, free: 0.6172 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.798e-05/0.1318, allocations: 7.5 kB / 0.5877 GB, free: 0.6055 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.102e-06/0.1318, allocations: 0 / 0.5877 GB, free: 0.6055 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.906e-06/0.1318, allocations: 0 / 0.5877 GB, free: 0.6055 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/0.1318, allocations: 8 kB / 0.5877 GB, free: 0.5977 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001009/0.1319, allocations: 165.6 kB / 0.5879 GB, free: 396 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.1319, allocations: 0 / 0.5879 GB, free: 396 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.017e-05/0.1319, allocations: 4 kB / 0.5879 GB, free: 392 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.342e-06/0.1319, allocations: 0 / 0.5879 GB, free: 392 kB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.368e-06/0.132, allocations: 8 kB / 0.5879 GB, free: 384 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.132, allocations: 0 / 0.5879 GB, free: 384 kB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.132, allocations: 0 / 0.5879 GB, free: 384 kB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001139/0.1321, allocations: 93.05 kB / 0.588 GB, free: 272 kB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.113e-05/0.1321, allocations: 92.94 kB / 0.5881 GB, free: 160 kB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.866e-05/0.1322, allocations: 0 / 0.5881 GB, free: 160 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001043/0.1323, allocations: 14.38 kB / 0.5881 GB, free: 148 kB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.374e-05/0.1323, allocations: 4.172 kB / 0.5881 GB, free: 144 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.658e-06/0.1323, allocations: 7.938 kB / 0.5881 GB, free: 136 kB / 494.1 MB Notification: Performance of sorting global known variables: time 3.544e-05/0.1324, allocations: 87.33 kB / 0.5882 GB, free: 48 kB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1324, allocations: 0 / 0.5882 GB, free: 48 kB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001877/0.1326, allocations: 12 kB / 0.5882 GB, free: 36 kB / 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,conTim.tNext) * Number of discrete states: 1 (conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * 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.0003656/0.1329, allocations: 0.6282 MB / 0.5888 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 9.557e-05/0.133, allocations: 39.92 kB / 0.5888 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.133, allocations: 0 / 0.5888 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 3.633e-05/0.1331, allocations: 12 kB / 0.5888 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001442/0.1332, allocations: 11.61 kB / 0.5889 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009088/0.1342, allocations: 1.174 MB / 0.59 GB, free: 14.06 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001895/0.1344, allocations: 0.6809 MB / 0.5907 GB, free: 13.35 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.221e-05/0.1344, allocations: 7.984 kB / 0.5907 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.31e-05/0.1344, allocations: 11.44 kB / 0.5907 GB, free: 13.33 MB / 0.4981 GB Notification: Performance of SimCode: time 2.4e-07/0.1344, allocations: 0 / 0.5907 GB, free: 13.33 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09554/0.23, allocations: 1.567 MB / 0.5922 GB, free: 11.92 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002292/0.2302, allocations: 226.8 kB / 0.5924 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.633/1.863, allocations: 3.938 kB / 0.5924 GB, free: 11.66 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime_fmu --startTime=0 --stopTime=7.776e+07 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime.fmu > IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe 2>&1)