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.001303/0.001303, allocations: 104.3 kB / 16.35 MB, free: 5.824 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.001376/0.001376, allocations: 192.7 kB / 17.29 MB, free: 5.48 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.328/1.328, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7976/0.7976, allocations: 132.2 MB / 423.3 MB, free: 6.527 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001452/0.001452, allocations: 67.91 kB / 0.5032 GB, free: 10.89 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3409/0.3424, allocations: 80.18 MB / 0.5815 GB, free: 27.75 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime): time 0.002273/0.3447, allocations: 1.434 MB / 0.5829 GB, free: 26.64 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003554/0.3451, allocations: 190.9 kB / 0.5831 GB, free: 26.5 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.214e-05/0.3451, allocations: 1.438 kB / 0.5831 GB, free: 26.5 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.556e-05/0.3452, allocations: 7.875 kB / 0.5831 GB, free: 26.49 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002044/0.3454, allocations: 27.28 kB / 0.5831 GB, free: 26.47 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001617/0.3455, allocations: 48.58 kB / 0.5831 GB, free: 26.44 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 8.475e-05/0.3456, allocations: 57.73 kB / 0.5832 GB, free: 26.4 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.848e-05/0.3457, allocations: 3.781 kB / 0.5832 GB, free: 26.4 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.648e-05/0.3458, allocations: 18.67 kB / 0.5832 GB, free: 26.39 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.296e-05/0.3459, allocations: 18.61 kB / 0.5832 GB, free: 26.38 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.716e-05/0.3459, allocations: 5.281 kB / 0.5832 GB, free: 26.38 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.335e-05/0.3459, allocations: 4.031 kB / 0.5833 GB, free: 26.38 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 2.308e-05/0.3459, allocations: 18.38 kB / 0.5833 GB, free: 26.37 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.104e-05/0.346, allocations: 21.3 kB / 0.5833 GB, free: 26.35 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 7.939e-05/0.346, allocations: 45.27 kB / 0.5833 GB, free: 26.32 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.576e-06/0.3461, allocations: 3.938 kB / 0.5833 GB, free: 26.32 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.3461, allocations: 0 / 0.5833 GB, free: 26.32 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.554e-06/0.3461, allocations: 0.5938 kB / 0.5833 GB, free: 26.32 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.0003934/0.3465, allocations: 346.7 kB / 0.5837 GB, free: 25.95 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.969e-05/0.3465, allocations: 9.75 kB / 0.5837 GB, free: 25.95 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.531e-05/0.3466, allocations: 6.969 kB / 0.5837 GB, free: 25.95 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.124e-05/0.3466, allocations: 171.4 kB / 0.5838 GB, free: 25.74 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.285e-05/0.3467, allocations: 2.719 kB / 0.5839 GB, free: 25.74 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.209e-05/0.3467, allocations: 6.703 kB / 0.5839 GB, free: 25.74 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001148/0.3468, allocations: 68.91 kB / 0.5839 GB, free: 25.67 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.623e-06/0.3468, allocations: 192 / 0.5839 GB, free: 25.67 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.215e-05/0.3468, allocations: 5.406 kB / 0.5839 GB, free: 25.66 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.3468, allocations: 5.125 kB / 0.5839 GB, free: 25.66 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.424e-05/0.3469, allocations: 12.31 kB / 0.5839 GB, free: 25.66 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000298/0.3472, allocations: 264.1 kB / 0.5842 GB, free: 25.36 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.411e-05/0.3473, allocations: 40.64 kB / 0.5842 GB, free: 25.33 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.648e-05/0.3473, allocations: 17.84 kB / 0.5843 GB, free: 25.32 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.953e-06/0.3473, allocations: 4 kB / 0.5843 GB, free: 25.31 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001369/0.3475, allocations: 64.27 kB / 0.5843 GB, free: 25.25 MB / 446.1 MB Notification: Performance of pre-optimization done (n=4): time 1.353e-06/0.3475, allocations: 1.188 kB / 0.5843 GB, free: 25.25 MB / 446.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001681/0.3476, allocations: 70.28 kB / 0.5844 GB, free: 25.2 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.723e-05/0.3477, allocations: 107.7 kB / 0.5845 GB, free: 25.07 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.232e-05/0.3477, allocations: 110.8 kB / 0.5846 GB, free: 24.96 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.018e-05/0.3478, allocations: 26.58 kB / 0.5846 GB, free: 24.93 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.737e-05/0.3478, allocations: 86.59 kB / 0.5847 GB, free: 24.84 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.611e-05/0.3478, allocations: 21.16 kB / 0.5847 GB, free: 24.83 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.42e-05/0.3479, allocations: 13.19 kB / 0.5847 GB, free: 24.81 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.819e-05/0.3479, allocations: 323.9 kB / 0.585 GB, free: 24.49 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.483e-05/0.3479, allocations: 9.5 kB / 0.5851 GB, free: 24.48 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.831e-05/0.348, allocations: 34.53 kB / 0.5851 GB, free: 24.45 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.221e-05/0.348, allocations: 24.48 kB / 0.5851 GB, free: 24.44 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.348, allocations: 3.938 kB / 0.5851 GB, free: 24.43 MB / 446.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.361e-05/0.3481, allocations: 64.59 kB / 0.5852 GB, free: 24.38 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.232e-05/0.3481, allocations: 7.656 kB / 0.5852 GB, free: 24.38 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.3481, allocations: 1 kB / 0.5852 GB, free: 24.38 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.243e-05/0.3482, allocations: 5.219 kB / 0.5852 GB, free: 24.38 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.137e-05/0.3482, allocations: 15.77 kB / 0.5852 GB, free: 24.37 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.862e-06/0.3482, allocations: 3.984 kB / 0.5852 GB, free: 24.37 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.691e-05/0.3483, allocations: 5.5 kB / 0.5852 GB, free: 24.37 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.355e-06/0.3484, allocations: 5.047 kB / 0.5852 GB, free: 24.36 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.318e-05/0.3484, allocations: 117.9 kB / 0.5853 GB, free: 24.24 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.351e-05/0.3484, allocations: 2.062 kB / 0.5853 GB, free: 24.24 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.687e-05/0.3485, allocations: 5.188 kB / 0.5853 GB, free: 24.23 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.3485, allocations: 1.781 kB / 0.5853 GB, free: 24.23 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.3485, allocations: 0 / 0.5853 GB, free: 24.23 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-06/0.3485, allocations: 2.25 kB / 0.5853 GB, free: 24.23 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.766e-05/0.3485, allocations: 173.7 kB / 0.5855 GB, free: 24.02 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.3486, allocations: 0 / 0.5855 GB, free: 24.02 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.174e-05/0.3486, allocations: 3.719 kB / 0.5855 GB, free: 24.02 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.312e-06/0.3486, allocations: 0 / 0.5855 GB, free: 24.02 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.226e-06/0.3486, allocations: 1.031 kB / 0.5855 GB, free: 24.02 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.3486, allocations: 4.844 kB / 0.5855 GB, free: 24.02 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.3486, allocations: 1.125 kB / 0.5855 GB, free: 24.02 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001027/0.3487, allocations: 103.8 kB / 0.5856 GB, free: 23.92 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.382e-05/0.3488, allocations: 84 kB / 0.5857 GB, free: 23.82 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.055e-05/0.3488, allocations: 6.188 kB / 0.5857 GB, free: 23.82 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.429e-05/0.3489, allocations: 9.359 kB / 0.5857 GB, free: 23.82 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.485e-05/0.3489, allocations: 3.406 kB / 0.5857 GB, free: 23.82 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.957e-06/0.3489, allocations: 2.156 kB / 0.5857 GB, free: 23.82 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.541e-05/0.349, allocations: 88.58 kB / 0.5858 GB, free: 23.73 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.349, allocations: 0.875 kB / 0.5858 GB, free: 23.73 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0001834/0.3492, allocations: 9.031 kB / 0.5858 GB, free: 23.73 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 8.257e-05/0.3492, allocations: 99.06 kB / 0.5859 GB, free: 23.65 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001052/0.3494, allocations: 33.17 kB / 0.5859 GB, free: 23.63 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.3494, allocations: 5.469 kB / 0.5859 GB, free: 23.63 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 3.752e-05/0.3494, allocations: 18.67 kB / 0.586 GB, free: 23.62 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001405/0.3496, allocations: 13.67 kB / 0.586 GB, free: 23.61 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002425/0.3498, allocations: 115.9 kB / 0.5861 GB, free: 23.5 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.283e-05/0.3499, allocations: 0.6784 MB / 0.5867 GB, free: 22.8 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.461e-05/0.3499, allocations: 5.406 kB / 0.5867 GB, free: 22.8 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.226e-05/0.35, allocations: 9.719 kB / 0.5868 GB, free: 22.79 MB / 446.1 MB Notification: Performance of SimCode: time 2.11e-07/0.35, allocations: 6.156 kB / 0.5868 GB, free: 22.79 MB / 446.1 MB Notification: Performance of Templates: time 0.002643/0.3526, allocations: 0.869 MB / 0.5876 GB, free: 22.38 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 -s gbode -lv LOG_STATS > IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe 2>&1)