Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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: translateModel(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime") translateModel(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.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.001062/0.001062, allocations: 111.7 kB / 16.37 MB, free: 6.344 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.00113/0.00113, allocations: 192.1 kB / 17.3 MB, free: 5.898 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.374/1.374, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8404/0.8404, allocations: 132.2 MB / 423.4 MB, free: 6.605 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001255/0.001255, allocations: 67.19 kB / 0.582 GB, free: 23.7 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1324/0.1337, allocations: 80.2 MB / 0.6603 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime): time 0.002323/0.136, allocations: 1.442 MB / 0.6617 GB, free: 8.832 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0004109/0.1365, allocations: 187.4 kB / 0.6619 GB, free: 8.648 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.47e-05/0.1365, allocations: 0 / 0.6619 GB, free: 8.648 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.303e-05/0.1365, allocations: 3.984 kB / 0.6619 GB, free: 8.645 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002218/0.1368, allocations: 23.88 kB / 0.6619 GB, free: 8.621 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001807/0.137, allocations: 59.02 kB / 0.662 GB, free: 8.566 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.668e-05/0.137, allocations: 47.91 kB / 0.662 GB, free: 8.52 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.59e-05/0.1371, allocations: 7.984 kB / 0.662 GB, free: 8.512 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 9.175e-05/0.1372, allocations: 23.88 kB / 0.662 GB, free: 8.488 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.627e-05/0.1373, allocations: 19.91 kB / 0.662 GB, free: 8.469 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.618e-05/0.1373, allocations: 4 kB / 0.662 GB, free: 8.465 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.026e-05/0.1373, allocations: 4 kB / 0.6621 GB, free: 8.461 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.176e-05/0.1374, allocations: 11.98 kB / 0.6621 GB, free: 8.449 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.11e-05/0.1374, allocations: 27.92 kB / 0.6621 GB, free: 8.422 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001261/0.1375, allocations: 43.8 kB / 0.6621 GB, free: 8.379 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.1376, allocations: 4 kB / 0.6621 GB, free: 8.375 MB / 0.4981 GB Notification: Performance of FrontEnd: time 9.72e-07/0.1376, allocations: 0 / 0.6621 GB, free: 8.375 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.283e-06/0.1376, allocations: 0 / 0.6621 GB, free: 8.375 MB / 0.4981 GB 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.0004876/0.1381, allocations: 339.5 kB / 0.6625 GB, free: 7.992 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 2.873e-05/0.1381, allocations: 8.031 kB / 0.6625 GB, free: 7.984 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.097e-05/0.1381, allocations: 0.9375 kB / 0.6625 GB, free: 7.984 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001172/0.1383, allocations: 172.3 kB / 0.6626 GB, free: 7.777 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.429e-05/0.1383, allocations: 8.375 kB / 0.6626 GB, free: 7.77 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.184e-05/0.1383, allocations: 4.375 kB / 0.6626 GB, free: 7.766 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001572/0.1385, allocations: 68.75 kB / 0.6627 GB, free: 7.684 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.783e-06/0.1385, allocations: 192 / 0.6627 GB, free: 7.684 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.549e-05/0.1385, allocations: 11.92 kB / 0.6627 GB, free: 7.672 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.326e-06/0.1385, allocations: 0 / 0.6627 GB, free: 7.672 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.499e-05/0.1385, allocations: 12 kB / 0.6627 GB, free: 7.66 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003552/0.1389, allocations: 272.8 kB / 0.663 GB, free: 7.344 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 9.992e-05/0.139, allocations: 38.45 kB / 0.663 GB, free: 7.297 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.241e-05/0.1391, allocations: 20.88 kB / 0.6631 GB, free: 7.273 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 7.534e-06/0.1391, allocations: 4 kB / 0.6631 GB, free: 7.27 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001032/0.1392, allocations: 63.39 kB / 0.6631 GB, free: 7.195 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 1.443e-06/0.1392, allocations: 4 kB / 0.6631 GB, free: 7.191 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4): time 0.0002114/0.1394, allocations: 73.61 kB / 0.6632 GB, free: 7.113 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.541e-05/0.1395, allocations: 102.8 kB / 0.6633 GB, free: 6.988 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.724e-05/0.1396, allocations: 113.8 kB / 0.6634 GB, free: 6.867 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.438e-05/0.1396, allocations: 29.7 kB / 0.6634 GB, free: 6.832 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.654e-05/0.1396, allocations: 84.14 kB / 0.6635 GB, free: 6.746 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.658e-05/0.1397, allocations: 7.812 kB / 0.6635 GB, free: 6.738 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.997e-05/0.1397, allocations: 25.7 kB / 0.6635 GB, free: 6.707 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001252/0.1398, allocations: 318.8 kB / 0.6638 GB, free: 6.387 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.691e-05/0.1399, allocations: 8 kB / 0.6638 GB, free: 6.379 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.312e-05/0.1399, allocations: 34.56 kB / 0.6639 GB, free: 6.336 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.575e-05/0.14, allocations: 24.86 kB / 0.6639 GB, free: 6.309 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.14, allocations: 3.938 kB / 0.6639 GB, free: 6.305 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.313e-05/0.1401, allocations: 57.62 kB / 0.664 GB, free: 6.242 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.584e-05/0.1401, allocations: 9.875 kB / 0.664 GB, free: 6.234 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.666e-06/0.1402, allocations: 4.031 kB / 0.664 GB, free: 6.23 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.155e-05/0.1402, allocations: 0 / 0.664 GB, free: 6.23 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.124e-05/0.1402, allocations: 11.98 kB / 0.664 GB, free: 6.219 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.098e-06/0.1403, allocations: 0 / 0.664 GB, free: 6.219 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001026/0.1404, allocations: 11.98 kB / 0.664 GB, free: 6.207 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.683e-06/0.1404, allocations: 0 / 0.664 GB, free: 6.207 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 (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 8.022e-05/0.1405, allocations: 118.7 kB / 0.6641 GB, free: 6.082 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.542e-05/0.1405, allocations: 3.906 kB / 0.6641 GB, free: 6.078 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.013e-05/0.1405, allocations: 7.5 kB / 0.6641 GB, free: 6.062 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.292e-06/0.1405, allocations: 4 kB / 0.6641 GB, free: 6.059 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.1405, allocations: 0 / 0.6641 GB, free: 6.059 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.064e-06/0.1405, allocations: 0 / 0.6641 GB, free: 6.059 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001531/0.1407, allocations: 181.5 kB / 0.6643 GB, free: 5.832 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.1407, allocations: 0 / 0.6643 GB, free: 5.832 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.418e-05/0.1407, allocations: 8.375 kB / 0.6643 GB, free: 5.824 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.1407, allocations: 0 / 0.6643 GB, free: 5.824 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.141e-06/0.1407, allocations: 0 / 0.6643 GB, free: 5.824 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/0.1407, allocations: 4 kB / 0.6643 GB, free: 5.82 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.1407, allocations: 0 / 0.6643 GB, free: 5.82 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001179/0.1409, allocations: 97.05 kB / 0.6644 GB, free: 5.707 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.603e-05/0.1409, allocations: 81.09 kB / 0.6645 GB, free: 5.609 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.936e-05/0.141, allocations: 4.234 kB / 0.6645 GB, free: 5.605 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001019/0.1411, allocations: 11.98 kB / 0.6645 GB, free: 5.594 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.839e-05/0.1411, allocations: 7.984 kB / 0.6645 GB, free: 5.586 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.045e-05/0.1412, allocations: 11.86 kB / 0.6645 GB, free: 5.574 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.893e-05/0.1412, allocations: 83.28 kB / 0.6646 GB, free: 5.492 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.1412, allocations: 4 kB / 0.6646 GB, free: 5.488 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001928/0.1414, allocations: 12 kB / 0.6646 GB, free: 5.477 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 (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.0001163/0.1415, allocations: 99.19 kB / 0.6647 GB, free: 5.367 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001065/0.1416, allocations: 31.98 kB / 0.6647 GB, free: 5.336 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.1417, allocations: 0 / 0.6647 GB, free: 5.336 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 3.662e-05/0.1417, allocations: 15.98 kB / 0.6648 GB, free: 5.32 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001437/0.1418, allocations: 13.83 kB / 0.6648 GB, free: 5.309 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003087/0.1422, allocations: 159 kB / 0.6649 GB, free: 5.121 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002418/0.1424, allocations: 0.6785 MB / 0.6656 GB, free: 4.418 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.645e-05/0.1424, allocations: 11.44 kB / 0.6656 GB, free: 4.406 MB / 0.4981 GB Notification: Performance of SimCode: time 2.31e-07/0.1425, allocations: 0 / 0.6656 GB, free: 4.406 MB / 0.4981 GB Notification: Performance of Templates: time 0.002098/0.1446, allocations: 0.7865 MB / 0.6664 GB, free: 3.629 MB / 0.4981 GB make -j1 -f IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.makefile (rm -f IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.sim & ./IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe 2>&1)