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.001146/0.001146, allocations: 92 kB / 15.06 MB, free: 1.098 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.001581/0.001582, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.37/1.37, allocations: 223.3 MB / 240 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9548/0.9548, allocations: 135.3 MB / 426.4 MB, free: 14.17 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005782/0.0005784, allocations: 9.781 kB / 0.5071 GB, free: 5.008 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2089/0.2095, allocations: 82.31 MB / 0.5875 GB, free: 2.863 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime): time 0.001776/0.2113, allocations: 1.146 MB / 0.5886 GB, free: 1.707 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004097/0.2118, allocations: 171.6 kB / 0.5888 GB, free: 1.539 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.769e-05/0.2118, allocations: 0 / 0.5888 GB, free: 1.539 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.732e-05/0.2118, allocations: 0 / 0.5888 GB, free: 1.539 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000239/0.2121, allocations: 15.92 kB / 0.5888 GB, free: 1.523 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002131/0.2123, allocations: 47.94 kB / 0.5888 GB, free: 1.477 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 9.06e-05/0.2124, allocations: 47.83 kB / 0.5889 GB, free: 1.43 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.507e-05/0.2125, allocations: 3.984 kB / 0.5889 GB, free: 1.426 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.681e-05/0.2126, allocations: 19.92 kB / 0.5889 GB, free: 1.406 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.127e-05/0.2126, allocations: 19.98 kB / 0.5889 GB, free: 1.387 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.686e-05/0.2127, allocations: 0 / 0.5889 GB, free: 1.387 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.686e-05/0.2127, allocations: 7.938 kB / 0.5889 GB, free: 1.379 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.757e-05/0.2127, allocations: 15.91 kB / 0.5889 GB, free: 1.363 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.125e-05/0.2128, allocations: 29.7 kB / 0.589 GB, free: 1.328 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 7.533e-05/0.2129, allocations: 28.17 kB / 0.589 GB, free: 1.301 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.2129, allocations: 0 / 0.589 GB, free: 1.301 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.2129, allocations: 0 / 0.589 GB, free: 1.301 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.128e-06/0.2129, allocations: 0 / 0.589 GB, free: 1.301 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.0005488/0.2134, allocations: 343.3 kB / 0.5893 GB, free: 0.918 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.732e-05/0.2135, allocations: 8.031 kB / 0.5893 GB, free: 0.9102 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.986e-05/0.2135, allocations: 30.56 kB / 0.5893 GB, free: 0.8711 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.583e-05/0.2136, allocations: 4 kB / 0.5893 GB, free: 0.8672 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001605/0.2138, allocations: 174.9 kB / 0.5895 GB, free: 0.6562 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.713e-05/0.2138, allocations: 4 kB / 0.5895 GB, free: 0.6523 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.548e-05/0.2138, allocations: 4 kB / 0.5895 GB, free: 0.6484 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001553/0.214, allocations: 72.19 kB / 0.5896 GB, free: 0.5625 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.362e-05/0.214, allocations: 0 / 0.5896 GB, free: 0.5625 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.37e-05/0.214, allocations: 3.938 kB / 0.5896 GB, free: 0.5586 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.151e-06/0.214, allocations: 0 / 0.5896 GB, free: 0.5586 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.369e-05/0.2141, allocations: 12 kB / 0.5896 GB, free: 0.5469 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004487/0.2145, allocations: 268.9 kB / 0.5899 GB, free: 240 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.971e-05/0.2146, allocations: 42.52 kB / 0.5899 GB, free: 188 kB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.806e-05/0.2147, allocations: 20.94 kB / 0.5899 GB, free: 164 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.074e-05/0.2147, allocations: 0 / 0.5899 GB, free: 164 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001789/0.2149, allocations: 63.39 kB / 0.59 GB, free: 88 kB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/0.2149, allocations: 0 / 0.59 GB, free: 88 kB / 494.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002174/0.2151, allocations: 69.62 kB / 0.5901 GB, free: 12 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.465e-05/0.2152, allocations: 110.8 kB / 0.5902 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.947e-05/0.2153, allocations: 105.8 kB / 0.5903 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.821e-05/0.2154, allocations: 29.7 kB / 0.5903 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.294e-05/0.2154, allocations: 88.12 kB / 0.5904 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.057e-05/0.2154, allocations: 11.8 kB / 0.5904 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.038e-06/0.2155, allocations: 4 kB / 0.5904 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001437/0.2156, allocations: 314.8 kB / 0.5907 GB, free: 15.31 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.688e-05/0.2156, allocations: 8 kB / 0.5907 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.82e-05/0.2157, allocations: 38.56 kB / 0.5907 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.24e-05/0.2157, allocations: 8 kB / 0.5907 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.2157, allocations: 0 / 0.5907 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.936e-05/0.2159, allocations: 66 kB / 0.5908 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.407e-05/0.2159, allocations: 4 kB / 0.5908 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.2159, allocations: 0 / 0.5908 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.162e-05/0.2159, allocations: 0 / 0.5908 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.39e-05/0.216, allocations: 16.05 kB / 0.5908 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/0.216, allocations: 7.922 kB / 0.5908 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001116/0.2161, allocations: 19.97 kB / 0.5908 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.077e-06/0.2161, allocations: 0 / 0.5908 GB, free: 15.13 MB / 0.4981 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 ($whenCondition1,$PRE.conTim.tNext,conTim.tNext) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001172/0.2163, allocations: 113.8 kB / 0.591 GB, free: 15.01 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.396e-05/0.2163, allocations: 3.906 kB / 0.591 GB, free: 15 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.666e-05/0.2163, allocations: 7.5 kB / 0.591 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.542e-06/0.2163, allocations: 192 / 0.591 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/0.2163, allocations: 0 / 0.591 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.043e-06/0.2163, allocations: 3.984 kB / 0.591 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001334/0.2165, allocations: 177.5 kB / 0.5911 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.2165, allocations: 4 kB / 0.5911 GB, free: 14.76 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.256e-05/0.2165, allocations: 7.938 kB / 0.5912 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.2165, allocations: 0 / 0.5912 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.766e-06/0.2165, allocations: 0 / 0.5912 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.2165, allocations: 0 / 0.5912 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.2165, allocations: 0 / 0.5912 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001501/0.2167, allocations: 93.06 kB / 0.5912 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.629e-05/0.2168, allocations: 85.03 kB / 0.5913 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.397e-05/0.2168, allocations: 12 kB / 0.5913 GB, free: 14.53 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.99e-05/0.2169, allocations: 13.86 kB / 0.5913 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.687e-05/0.2169, allocations: 0 / 0.5913 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.989e-06/0.217, allocations: 0 / 0.5913 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.463e-05/0.217, allocations: 91.27 kB / 0.5914 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.217, allocations: 0 / 0.5914 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001953/0.2172, allocations: 8 kB / 0.5914 GB, free: 14.42 MB / 0.4981 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,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004648/0.2177, allocations: 0.6318 MB / 0.5921 GB, free: 13.76 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001179/0.2178, allocations: 31.98 kB / 0.5921 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.2178, allocations: 0 / 0.5921 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 5.2e-05/0.2179, allocations: 19.94 kB / 0.5921 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001633/0.2181, allocations: 6.188 kB / 0.5921 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006627/0.2187, allocations: 413.6 kB / 0.5925 GB, free: 13.26 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002486/0.219, allocations: 0.6848 MB / 0.5932 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.664e-05/0.219, allocations: 4 kB / 0.5932 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.878e-05/0.2191, allocations: 7.438 kB / 0.5932 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of SimCode: time 2.61e-07/0.2191, allocations: 7.938 kB / 0.5932 GB, free: 12.53 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01263/0.2317, allocations: 1.501 MB / 0.5947 GB, free: 11.22 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002032/0.232, allocations: 217.2 kB / 0.5949 GB, free: 10.97 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.867/2.099, allocations: 0 / 0.5949 GB, free: 10.97 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/linux/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) Environment - environmentSimulation: