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.001606/0.001606, allocations: 108 kB / 16.27 MB, free: 6.406 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.001793/0.001793, allocations: 193 kB / 17.2 MB, free: 5.973 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.401/1.401, allocations: 222.9 MB / 240.9 MB, free: 15.26 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7986/0.7986, allocations: 132.2 MB / 423.2 MB, free: 6.664 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001309/0.001309, allocations: 75.83 kB / 0.5024 GB, free: 11.66 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3133/0.3147, allocations: 80.17 MB / 0.5807 GB, free: 27.25 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime): time 0.002308/0.317, allocations: 1.436 MB / 0.5821 GB, free: 26.14 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003435/0.3174, allocations: 193.6 kB / 0.5823 GB, free: 25.99 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.63e-05/0.3174, allocations: 6.125 kB / 0.5823 GB, free: 25.99 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.542e-05/0.3175, allocations: 3.938 kB / 0.5823 GB, free: 25.98 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001946/0.3177, allocations: 17.89 kB / 0.5824 GB, free: 25.97 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001576/0.3178, allocations: 61.34 kB / 0.5824 GB, free: 25.93 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.000109/0.3179, allocations: 46.3 kB / 0.5825 GB, free: 25.91 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.692e-05/0.318, allocations: 7.734 kB / 0.5825 GB, free: 25.91 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.611e-05/0.3181, allocations: 22.92 kB / 0.5825 GB, free: 25.89 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.359e-05/0.3182, allocations: 17.83 kB / 0.5825 GB, free: 25.88 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.98e-05/0.3182, allocations: 4.438 kB / 0.5825 GB, free: 25.88 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.643e-05/0.3182, allocations: 5.062 kB / 0.5825 GB, free: 25.88 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 2.468e-05/0.3182, allocations: 13.36 kB / 0.5825 GB, free: 25.87 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.895e-05/0.3183, allocations: 22.41 kB / 0.5825 GB, free: 25.86 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 7.67e-05/0.3184, allocations: 37.94 kB / 0.5826 GB, free: 25.83 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.3184, allocations: 0.5 kB / 0.5826 GB, free: 25.83 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.3184, allocations: 0.8125 kB / 0.5826 GB, free: 25.83 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.027e-06/0.3184, allocations: 5.188 kB / 0.5826 GB, free: 25.83 MB / 446.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.0004315/0.3188, allocations: 348.4 kB / 0.5829 GB, free: 25.45 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.968e-05/0.3189, allocations: 13.59 kB / 0.5829 GB, free: 25.45 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.042e-05/0.3189, allocations: 7.469 kB / 0.5829 GB, free: 25.45 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.57e-05/0.319, allocations: 173.2 kB / 0.5831 GB, free: 25.24 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.568e-05/0.319, allocations: 1.719 kB / 0.5831 GB, free: 25.24 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.458e-06/0.319, allocations: 1.938 kB / 0.5831 GB, free: 25.24 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001436/0.3192, allocations: 73.83 kB / 0.5832 GB, free: 25.17 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.364e-06/0.3192, allocations: 1.281 kB / 0.5832 GB, free: 25.17 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.215e-05/0.3192, allocations: 3.938 kB / 0.5832 GB, free: 25.16 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.3192, allocations: 1.031 kB / 0.5832 GB, free: 25.16 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.657e-05/0.3193, allocations: 14.97 kB / 0.5832 GB, free: 25.16 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003042/0.3196, allocations: 265.2 kB / 0.5835 GB, free: 24.86 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.981e-05/0.3197, allocations: 41.83 kB / 0.5835 GB, free: 24.83 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.023e-05/0.3197, allocations: 18.72 kB / 0.5835 GB, free: 24.81 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.879e-06/0.3197, allocations: 1.625 kB / 0.5835 GB, free: 24.81 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001153/0.3198, allocations: 67.23 kB / 0.5836 GB, free: 24.75 MB / 446.1 MB Notification: Performance of pre-optimization done (n=4): time 1.552e-06/0.3199, allocations: 0 / 0.5836 GB, free: 24.75 MB / 446.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001918/0.3201, allocations: 71.94 kB / 0.5836 GB, free: 24.7 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.786e-05/0.3201, allocations: 112.1 kB / 0.5837 GB, free: 24.56 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.13e-05/0.3202, allocations: 102 kB / 0.5838 GB, free: 24.46 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.108e-05/0.3202, allocations: 31.17 kB / 0.5839 GB, free: 24.43 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.381e-05/0.3202, allocations: 86.03 kB / 0.584 GB, free: 24.34 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.699e-05/0.3202, allocations: 14.56 kB / 0.584 GB, free: 24.33 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.161e-05/0.3203, allocations: 18.78 kB / 0.584 GB, free: 24.31 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.537e-05/0.3203, allocations: 318.5 kB / 0.5843 GB, free: 23.99 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.904e-05/0.3204, allocations: 9.406 kB / 0.5843 GB, free: 23.99 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.502e-05/0.3204, allocations: 37.41 kB / 0.5843 GB, free: 23.95 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.646e-05/0.3205, allocations: 24.27 kB / 0.5844 GB, free: 23.94 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.3205, allocations: 4.844 kB / 0.5844 GB, free: 23.93 MB / 446.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.225e-05/0.3206, allocations: 64 kB / 0.5844 GB, free: 23.88 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.391e-05/0.3206, allocations: 8.062 kB / 0.5844 GB, free: 23.88 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.486e-06/0.3206, allocations: 0 / 0.5844 GB, free: 23.88 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.321e-05/0.3206, allocations: 2.031 kB / 0.5844 GB, free: 23.88 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.416e-05/0.3207, allocations: 9.422 kB / 0.5844 GB, free: 23.88 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.18e-06/0.3207, allocations: 10.16 kB / 0.5845 GB, free: 23.87 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001085/0.3208, allocations: 5.531 kB / 0.5845 GB, free: 23.87 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.207e-06/0.3208, allocations: 5.266 kB / 0.5845 GB, free: 23.87 MB / 446.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.685e-05/0.3209, allocations: 117.7 kB / 0.5846 GB, free: 23.75 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.61e-05/0.3209, allocations: 2.656 kB / 0.5846 GB, free: 23.75 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.752e-05/0.3209, allocations: 8.969 kB / 0.5846 GB, free: 23.73 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.321, allocations: 1.438 kB / 0.5846 GB, free: 23.73 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.457e-06/0.321, allocations: 0 / 0.5846 GB, free: 23.73 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-06/0.321, allocations: 1.719 kB / 0.5846 GB, free: 23.73 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.454e-05/0.321, allocations: 169.5 kB / 0.5848 GB, free: 23.53 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.3211, allocations: 0 / 0.5848 GB, free: 23.53 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.579e-05/0.3211, allocations: 7.875 kB / 0.5848 GB, free: 23.52 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.3211, allocations: 0 / 0.5848 GB, free: 23.52 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.372e-06/0.3211, allocations: 1.062 kB / 0.5848 GB, free: 23.52 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.3211, allocations: 3.531 kB / 0.5848 GB, free: 23.52 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.3211, allocations: 0 / 0.5848 GB, free: 23.52 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001062/0.3212, allocations: 102.7 kB / 0.5849 GB, free: 23.43 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.597e-05/0.3213, allocations: 88.97 kB / 0.5849 GB, free: 23.32 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.181e-05/0.3213, allocations: 1.375 kB / 0.5849 GB, free: 23.32 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000108/0.3214, allocations: 12.84 kB / 0.585 GB, free: 23.32 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.194e-05/0.3215, allocations: 1.562 kB / 0.585 GB, free: 23.32 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.897e-06/0.3215, allocations: 1.625 kB / 0.585 GB, free: 23.32 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.648e-05/0.3215, allocations: 91.17 kB / 0.5851 GB, free: 23.24 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3215, allocations: 0 / 0.5851 GB, free: 23.24 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0001976/0.3217, allocations: 8.5 kB / 0.5851 GB, free: 23.24 MB / 446.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 9.274e-05/0.3218, allocations: 102.8 kB / 0.5852 GB, free: 23.15 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001132/0.322, allocations: 30.7 kB / 0.5852 GB, free: 23.14 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.322, allocations: 0 / 0.5852 GB, free: 23.14 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 3.682e-05/0.322, allocations: 22.03 kB / 0.5852 GB, free: 23.12 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001478/0.3222, allocations: 10.17 kB / 0.5852 GB, free: 23.12 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002512/0.3224, allocations: 143.1 kB / 0.5854 GB, free: 22.97 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.418e-05/0.3225, allocations: 0.6792 MB / 0.586 GB, free: 22.27 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.739e-05/0.3226, allocations: 10.44 kB / 0.586 GB, free: 22.27 MB / 446.1 MB Notification: Performance of SimCode: time 2.1e-07/0.3226, allocations: 0 / 0.586 GB, free: 22.27 MB / 446.1 MB Notification: Performance of Templates: time 0.001926/0.3245, allocations: 0.8054 MB / 0.5868 GB, free: 21.89 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)