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.001173/0.001173, allocations: 108 kB / 15.61 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001181/0.001181, allocations: 197.5 kB / 16.53 MB, free: 6.672 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.186/1.186, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6668/0.6668, allocations: 132.2 MB / 422.6 MB, free: 1.742 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00116/0.00116, allocations: 68.62 kB / 0.5018 GB, free: 3.816 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3357/0.3369, allocations: 80.2 MB / 0.5801 GB, free: 4.52 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime): time 0.002129/0.3391, allocations: 1.433 MB / 0.5815 GB, free: 3.52 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003517/0.3394, allocations: 189.5 kB / 0.5817 GB, free: 3.395 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.514e-05/0.3395, allocations: 0 / 0.5817 GB, free: 3.395 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 2.348e-05/0.3395, allocations: 6.219 kB / 0.5817 GB, free: 3.391 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001938/0.3397, allocations: 30.84 kB / 0.5817 GB, free: 3.367 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001617/0.3399, allocations: 55.88 kB / 0.5818 GB, free: 3.34 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 8.215e-05/0.34, allocations: 49.09 kB / 0.5818 GB, free: 3.32 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.818e-05/0.3401, allocations: 4.078 kB / 0.5818 GB, free: 3.32 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.098e-05/0.3401, allocations: 21.7 kB / 0.5818 GB, free: 3.312 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.722e-05/0.3402, allocations: 18.88 kB / 0.5819 GB, free: 3.305 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.419e-05/0.3402, allocations: 4.125 kB / 0.5819 GB, free: 3.305 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.59e-05/0.3403, allocations: 3.625 kB / 0.5819 GB, free: 3.305 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 2.413e-05/0.3403, allocations: 16.8 kB / 0.5819 GB, free: 3.293 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.41e-05/0.3403, allocations: 25.23 kB / 0.5819 GB, free: 3.277 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 8.914e-05/0.3404, allocations: 39.47 kB / 0.5819 GB, free: 3.266 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.3404, allocations: 0.5156 kB / 0.5819 GB, free: 3.266 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.3404, allocations: 0.8438 kB / 0.5819 GB, free: 3.266 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.739e-06/0.3405, allocations: 0 / 0.5819 GB, free: 3.266 MB / 430.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.0004064/0.3409, allocations: 345.4 kB / 0.5823 GB, free: 2.902 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.999e-05/0.3409, allocations: 13.28 kB / 0.5823 GB, free: 2.898 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.705e-05/0.3409, allocations: 6.5 kB / 0.5823 GB, free: 2.895 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.404e-05/0.341, allocations: 173.4 kB / 0.5825 GB, free: 2.691 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.012e-05/0.341, allocations: 1.844 kB / 0.5825 GB, free: 2.691 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.189e-05/0.3411, allocations: 2.375 kB / 0.5825 GB, free: 2.691 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00012/0.3412, allocations: 67.56 kB / 0.5825 GB, free: 2.629 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.624e-06/0.3412, allocations: 192 / 0.5825 GB, free: 2.629 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.434e-05/0.3412, allocations: 4.844 kB / 0.5825 GB, free: 2.625 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.3412, allocations: 4.969 kB / 0.5825 GB, free: 2.621 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.894e-05/0.3413, allocations: 17.61 kB / 0.5825 GB, free: 2.613 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003352/0.3416, allocations: 269.6 kB / 0.5828 GB, free: 2.332 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.938e-05/0.3417, allocations: 42.03 kB / 0.5828 GB, free: 2.297 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.001e-05/0.3418, allocations: 17.11 kB / 0.5829 GB, free: 2.285 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.052e-06/0.3418, allocations: 0 / 0.5829 GB, free: 2.285 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001344/0.3419, allocations: 67.39 kB / 0.5829 GB, free: 2.227 MB / 430.1 MB Notification: Performance of pre-optimization done (n=4): time 1.163e-06/0.3419, allocations: 0 / 0.5829 GB, free: 2.227 MB / 430.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001785/0.3421, allocations: 73.28 kB / 0.583 GB, free: 2.18 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.405e-05/0.3421, allocations: 108.8 kB / 0.5831 GB, free: 2.051 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.335e-05/0.3422, allocations: 104.9 kB / 0.5832 GB, free: 1.949 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.056e-05/0.3422, allocations: 26.55 kB / 0.5832 GB, free: 1.918 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.187e-05/0.3422, allocations: 81.52 kB / 0.5833 GB, free: 1.836 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.626e-05/0.3423, allocations: 16 kB / 0.5833 GB, free: 1.824 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.675e-05/0.3423, allocations: 26.09 kB / 0.5833 GB, free: 1.801 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.725e-05/0.3423, allocations: 317.6 kB / 0.5836 GB, free: 1.484 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.631e-05/0.3424, allocations: 10.09 kB / 0.5837 GB, free: 1.48 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.235e-05/0.3424, allocations: 31.75 kB / 0.5837 GB, free: 1.453 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.458e-05/0.3425, allocations: 33.7 kB / 0.5837 GB, free: 1.43 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.3425, allocations: 3.938 kB / 0.5837 GB, free: 1.426 MB / 430.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.304e-05/0.3426, allocations: 60.22 kB / 0.5838 GB, free: 1.383 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.248e-05/0.3426, allocations: 6.953 kB / 0.5838 GB, free: 1.383 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.186e-06/0.3426, allocations: 5.125 kB / 0.5838 GB, free: 1.379 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.023e-05/0.3426, allocations: 0 / 0.5838 GB, free: 1.379 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.757e-05/0.3427, allocations: 10.58 kB / 0.5838 GB, free: 1.375 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.509e-06/0.3427, allocations: 1.656 kB / 0.5838 GB, free: 1.375 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.979e-05/0.3428, allocations: 12.59 kB / 0.5838 GB, free: 1.371 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.394e-06/0.3428, allocations: 5.719 kB / 0.5838 GB, free: 1.367 MB / 430.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 5.085e-05/0.3429, allocations: 118.8 kB / 0.5839 GB, free: 1.246 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.43e-05/0.3429, allocations: 3.344 kB / 0.5839 GB, free: 1.246 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.695e-05/0.3429, allocations: 8.75 kB / 0.5839 GB, free: 1.234 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.3429, allocations: 1.062 kB / 0.5839 GB, free: 1.234 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.3429, allocations: 0.7031 kB / 0.5839 GB, free: 1.234 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.934e-06/0.3429, allocations: 1.25 kB / 0.5839 GB, free: 1.234 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.909e-05/0.343, allocations: 169.9 kB / 0.5841 GB, free: 1.035 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.343, allocations: 0.8125 kB / 0.5841 GB, free: 1.035 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.031e-05/0.343, allocations: 3.562 kB / 0.5841 GB, free: 1.035 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.332e-06/0.343, allocations: 0 / 0.5841 GB, free: 1.035 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.712e-06/0.343, allocations: 1.297 kB / 0.5841 GB, free: 1.035 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.343, allocations: 1.312 kB / 0.5841 GB, free: 1.035 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.343, allocations: 0.9688 kB / 0.5841 GB, free: 1.035 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001009/0.3432, allocations: 97.19 kB / 0.5842 GB, free: 0.9492 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.459e-05/0.3432, allocations: 91.98 kB / 0.5843 GB, free: 0.8477 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.903e-05/0.3432, allocations: 0.8125 kB / 0.5843 GB, free: 0.8477 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.511e-05/0.3433, allocations: 8.375 kB / 0.5843 GB, free: 0.8477 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.555e-05/0.3433, allocations: 8.797 kB / 0.5843 GB, free: 0.8438 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.926e-06/0.3434, allocations: 2.422 kB / 0.5843 GB, free: 0.8438 MB / 430.1 MB Notification: Performance of sorting global known variables: time 2.496e-05/0.3434, allocations: 90.22 kB / 0.5844 GB, free: 0.7617 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3434, allocations: 0 / 0.5844 GB, free: 0.7617 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0001761/0.3436, allocations: 9 kB / 0.5844 GB, free: 0.7617 MB / 430.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 7.251e-05/0.3437, allocations: 107.3 kB / 0.5845 GB, free: 0.668 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001064/0.3438, allocations: 34.11 kB / 0.5845 GB, free: 0.6562 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.704e-06/0.3438, allocations: 0 / 0.5845 GB, free: 0.6562 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 3.508e-05/0.3438, allocations: 15.25 kB / 0.5846 GB, free: 0.6523 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001314/0.344, allocations: 7.094 kB / 0.5846 GB, free: 0.6484 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002308/0.3442, allocations: 118.9 kB / 0.5847 GB, free: 0.5352 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001437/0.3443, allocations: 0.6791 MB / 0.5853 GB, free: 15.84 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.992e-05/0.3444, allocations: 4.734 kB / 0.5853 GB, free: 15.84 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.3e-05/0.3444, allocations: 10.45 kB / 0.5854 GB, free: 15.83 MB / 446.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3444, allocations: 3.938 kB / 0.5854 GB, free: 15.83 MB / 446.1 MB Notification: Performance of Templates: time 0.002592/0.347, allocations: 0.8641 MB / 0.5862 GB, free: 15.74 MB / 446.1 MB 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)