Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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: translateModel(Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime") translateModel(Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006767/0.006767, allocations: 101.7 kB / 15.73 MB, free: 5.586 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.001199/0.001199, allocations: 192.2 kB / 16.67 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.421/1.421, allocations: 205.1 MB / 222.5 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.2554/0.2554, allocations: 54.97 MB / 324.9 MB, free: 4.836 MB / 270.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001406/0.001406, allocations: 71.91 kB / 456.2 MB, free: 2.605 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1271/0.1285, allocations: 59.58 MB / 0.5037 GB, free: 7.066 MB / 398.1 MB Notification: Performance of NFInst.instantiate(Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime): time 0.002413/0.131, allocations: 1.385 MB / 0.5051 GB, free: 5.676 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001982/0.1312, allocations: 27.89 kB / 0.5051 GB, free: 5.648 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.512e-05/0.1312, allocations: 4 kB / 0.5051 GB, free: 5.645 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 3.421e-05/0.1313, allocations: 0 / 0.5051 GB, free: 5.645 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 4.971e-05/0.1313, allocations: 7.922 kB / 0.5051 GB, free: 5.637 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002003/0.1315, allocations: 11.98 kB / 0.5051 GB, free: 5.625 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 7.776e-05/0.1316, allocations: 27.92 kB / 0.5051 GB, free: 5.598 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001123/0.1317, allocations: 11.94 kB / 0.5052 GB, free: 5.586 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.306e-05/0.1318, allocations: 7.984 kB / 0.5052 GB, free: 5.578 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.841e-05/0.1318, allocations: 11.94 kB / 0.5052 GB, free: 5.566 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.703e-05/0.1319, allocations: 0 / 0.5052 GB, free: 5.566 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.666e-06/0.1319, allocations: 0 / 0.5052 GB, free: 5.566 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 2.681e-05/0.1319, allocations: 11.97 kB / 0.5052 GB, free: 5.555 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.739e-05/0.132, allocations: 7.938 kB / 0.5052 GB, free: 5.547 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 8.742e-05/0.1321, allocations: 19.98 kB / 0.5052 GB, free: 5.527 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.1321, allocations: 4 kB / 0.5052 GB, free: 5.523 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.1321, allocations: 0 / 0.5052 GB, free: 5.523 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.691e-06/0.1321, allocations: 0 / 0.5052 GB, free: 5.523 MB / 398.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.0005118/0.1326, allocations: 331.5 kB / 0.5055 GB, free: 5.152 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.658e-05/0.1326, allocations: 8.031 kB / 0.5055 GB, free: 5.145 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.651e-05/0.1327, allocations: 4.844 kB / 0.5055 GB, free: 5.141 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001016/0.1328, allocations: 172.3 kB / 0.5057 GB, free: 4.934 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.425e-05/0.1328, allocations: 4.375 kB / 0.5057 GB, free: 4.93 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.121e-05/0.1328, allocations: 4.375 kB / 0.5057 GB, free: 4.926 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001116/0.1329, allocations: 45.62 kB / 0.5058 GB, free: 4.875 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.966e-06/0.133, allocations: 3.938 kB / 0.5058 GB, free: 4.871 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.836e-06/0.133, allocations: 0 / 0.5058 GB, free: 4.871 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.608e-06/0.133, allocations: 0 / 0.5058 GB, free: 4.871 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.908e-05/0.133, allocations: 12 kB / 0.5058 GB, free: 4.859 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004034/0.1334, allocations: 248.9 kB / 0.506 GB, free: 4.566 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.002e-05/0.1335, allocations: 38.52 kB / 0.506 GB, free: 4.52 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.584e-05/0.1336, allocations: 20.94 kB / 0.5061 GB, free: 4.496 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.035e-05/0.1336, allocations: 0 / 0.5061 GB, free: 4.496 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001471/0.1338, allocations: 63.38 kB / 0.5061 GB, free: 4.422 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.382e-06/0.1338, allocations: 0 / 0.5061 GB, free: 4.422 MB / 398.1 MB Notification: Performance of matching and sorting (n=4): time 0.000188/0.134, allocations: 65.62 kB / 0.5062 GB, free: 4.352 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.236e-05/0.134, allocations: 55.41 kB / 0.5062 GB, free: 4.285 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.177e-05/0.1341, allocations: 89.86 kB / 0.5063 GB, free: 4.188 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.955e-05/0.1341, allocations: 33.69 kB / 0.5064 GB, free: 4.148 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.954e-05/0.1342, allocations: 84.14 kB / 0.5064 GB, free: 4.062 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.049e-05/0.1342, allocations: 11.8 kB / 0.5065 GB, free: 4.051 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.587e-05/0.1342, allocations: 17.72 kB / 0.5065 GB, free: 4.027 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001076/0.1343, allocations: 314.8 kB / 0.5068 GB, free: 3.711 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.595e-05/0.1344, allocations: 12.11 kB / 0.5068 GB, free: 3.699 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.599e-05/0.1344, allocations: 16 kB / 0.5068 GB, free: 3.684 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.702e-05/0.1344, allocations: 16.86 kB / 0.5068 GB, free: 3.664 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.1344, allocations: 0 / 0.5068 GB, free: 3.664 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.953e-05/0.1345, allocations: 61.62 kB / 0.5069 GB, free: 3.598 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.25e-05/0.1345, allocations: 11.94 kB / 0.5069 GB, free: 3.586 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.1346, allocations: 0 / 0.5069 GB, free: 3.586 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.062e-05/0.1346, allocations: 0 / 0.5069 GB, free: 3.586 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.781e-05/0.1346, allocations: 4 kB / 0.5069 GB, free: 3.582 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.023e-06/0.1346, allocations: 3.984 kB / 0.5069 GB, free: 3.578 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.899e-05/0.1347, allocations: 11.94 kB / 0.5069 GB, free: 3.566 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.973e-06/0.1347, allocations: 0 / 0.5069 GB, free: 3.566 MB / 398.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.tStart,$PRE.conTim.tStart,$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.543e-05/0.1348, allocations: 113.8 kB / 0.507 GB, free: 3.445 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.557e-06/0.1348, allocations: 4 kB / 0.507 GB, free: 3.441 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.878e-05/0.1348, allocations: 3.5 kB / 0.507 GB, free: 3.434 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.162e-06/0.1348, allocations: 0 / 0.507 GB, free: 3.434 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.825e-06/0.1349, allocations: 192 / 0.507 GB, free: 3.434 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.571e-06/0.1349, allocations: 11.92 kB / 0.507 GB, free: 3.422 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001118/0.135, allocations: 165.5 kB / 0.5072 GB, free: 3.211 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.135, allocations: 0 / 0.5072 GB, free: 3.211 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.073e-05/0.135, allocations: 11.94 kB / 0.5072 GB, free: 3.199 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-06/0.135, allocations: 0 / 0.5072 GB, free: 3.199 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.442e-06/0.135, allocations: 0 / 0.5072 GB, free: 3.199 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.135, allocations: 0 / 0.5072 GB, free: 3.199 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.1351, allocations: 0 / 0.5072 GB, free: 3.199 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001042/0.1352, allocations: 89.05 kB / 0.5073 GB, free: 3.094 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.275e-05/0.1352, allocations: 77.11 kB / 0.5074 GB, free: 3 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.457e-05/0.1352, allocations: 0 / 0.5074 GB, free: 3 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.588e-05/0.1353, allocations: 11.98 kB / 0.5074 GB, free: 2.988 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.464e-05/0.1353, allocations: 0 / 0.5074 GB, free: 2.988 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.33e-06/0.1353, allocations: 4 kB / 0.5074 GB, free: 2.984 MB / 398.1 MB Notification: Performance of sorting global known variables: time 3.679e-05/0.1354, allocations: 75.28 kB / 0.5074 GB, free: 2.91 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1354, allocations: 0 / 0.5074 GB, free: 2.91 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0001733/0.1356, allocations: 8 kB / 0.5075 GB, free: 2.902 MB / 398.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.tStart) * Number of discrete states: 1 (conTim.tStart) * 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.0001093/0.1357, allocations: 103.2 kB / 0.5075 GB, free: 2.789 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 9.712e-05/0.1358, allocations: 32.03 kB / 0.5076 GB, free: 2.758 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.552e-06/0.1358, allocations: 0 / 0.5076 GB, free: 2.758 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 3.334e-05/0.1358, allocations: 11.98 kB / 0.5076 GB, free: 2.746 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001313/0.136, allocations: 8 kB / 0.5076 GB, free: 2.738 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000323/0.1363, allocations: 109.5 kB / 0.5077 GB, free: 2.602 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002599/0.1366, allocations: 0.6806 MB / 0.5084 GB, free: 1.895 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 2.047e-05/0.1366, allocations: 4 kB / 0.5084 GB, free: 1.891 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.672e-05/0.1366, allocations: 11.44 kB / 0.5084 GB, free: 1.879 MB / 398.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1366, allocations: 0 / 0.5084 GB, free: 1.879 MB / 398.1 MB Notification: Performance of Templates: time 0.002542/0.1392, allocations: 401.3 kB / 0.5088 GB, free: 1.52 MB / 398.1 MB make -j1 -f Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.makefile (rm -f Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe ; mkfifo Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe >> ../files/Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.sim & ./Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe 2>&1)