Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime") translateModel(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001191/0.001191, allocations: 108.1 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.001232/0.001232, 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.342/1.342, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7987/0.7987, allocations: 135.1 MB / 426.2 MB, free: 4.227 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001391/0.001391, allocations: 67.89 kB / 0.506 GB, free: 8.414 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3464/0.3478, allocations: 80.9 MB / 0.585 GB, free: 25.32 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime): time 0.003009/0.3509, allocations: 1.441 MB / 0.5864 GB, free: 24.21 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003988/0.3513, allocations: 183.9 kB / 0.5866 GB, free: 24.07 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.176e-05/0.3514, allocations: 7.875 kB / 0.5866 GB, free: 24.06 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.63e-05/0.3514, allocations: 3.984 kB / 0.5866 GB, free: 24.06 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002301/0.3517, allocations: 19 kB / 0.5866 GB, free: 24.05 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001853/0.3519, allocations: 53.5 kB / 0.5867 GB, free: 24.01 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 8.654e-05/0.352, allocations: 54.73 kB / 0.5867 GB, free: 23.98 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.665e-05/0.3521, allocations: 4.344 kB / 0.5867 GB, free: 23.98 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.741e-05/0.3521, allocations: 22.36 kB / 0.5868 GB, free: 23.97 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.2e-05/0.3522, allocations: 14.95 kB / 0.5868 GB, free: 23.96 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.593e-05/0.3522, allocations: 3.719 kB / 0.5868 GB, free: 23.96 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.754e-05/0.3523, allocations: 3.875 kB / 0.5868 GB, free: 23.96 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 2.425e-05/0.3523, allocations: 18.56 kB / 0.5868 GB, free: 23.95 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.564e-05/0.3523, allocations: 23.05 kB / 0.5868 GB, free: 23.93 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 9.059e-05/0.3524, allocations: 37.31 kB / 0.5868 GB, free: 23.91 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/0.3524, allocations: 0.5938 kB / 0.5868 GB, free: 23.91 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.3524, allocations: 4.812 kB / 0.5869 GB, free: 23.9 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.53e-06/0.3525, allocations: 3.938 kB / 0.5869 GB, free: 23.9 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.0004672/0.3529, allocations: 349 kB / 0.5872 GB, free: 23.52 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.911e-05/0.353, allocations: 10.52 kB / 0.5872 GB, free: 23.52 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.781e-05/0.353, allocations: 4.438 kB / 0.5872 GB, free: 23.52 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001063/0.3531, allocations: 170.8 kB / 0.5874 GB, free: 23.32 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.213e-05/0.3532, allocations: 2.844 kB / 0.5874 GB, free: 23.32 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.412e-05/0.3532, allocations: 6.016 kB / 0.5874 GB, free: 23.32 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001313/0.3533, allocations: 65.36 kB / 0.5874 GB, free: 23.25 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.335e-06/0.3533, allocations: 192 / 0.5874 GB, free: 23.25 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.607e-05/0.3534, allocations: 5.5 kB / 0.5874 GB, free: 23.25 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.3534, allocations: 1.156 kB / 0.5874 GB, free: 23.25 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.265e-05/0.3534, allocations: 18.95 kB / 0.5875 GB, free: 23.23 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000347/0.3538, allocations: 260.8 kB / 0.5877 GB, free: 22.95 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.035e-05/0.3539, allocations: 49.28 kB / 0.5878 GB, free: 22.9 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.391e-05/0.3539, allocations: 15.42 kB / 0.5878 GB, free: 22.89 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.458e-06/0.3539, allocations: 2.5 kB / 0.5878 GB, free: 22.89 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001703/0.3541, allocations: 66.78 kB / 0.5878 GB, free: 22.82 MB / 446.1 MB Notification: Performance of pre-optimization done (n=4): time 1.473e-06/0.3541, allocations: 0.6562 kB / 0.5878 GB, free: 22.82 MB / 446.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002066/0.3543, allocations: 72.09 kB / 0.5879 GB, free: 22.77 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.047e-05/0.3544, allocations: 104 kB / 0.588 GB, free: 22.65 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.249e-05/0.3545, allocations: 109.5 kB / 0.5881 GB, free: 22.54 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.234e-05/0.3545, allocations: 26.73 kB / 0.5881 GB, free: 22.51 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.673e-05/0.3545, allocations: 82.77 kB / 0.5882 GB, free: 22.43 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.129e-05/0.3545, allocations: 17.7 kB / 0.5882 GB, free: 22.41 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.845e-05/0.3546, allocations: 20.09 kB / 0.5883 GB, free: 22.39 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.427e-05/0.3546, allocations: 318.5 kB / 0.5886 GB, free: 22.07 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.95e-05/0.3547, allocations: 13.56 kB / 0.5886 GB, free: 22.07 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.498e-05/0.3547, allocations: 32.44 kB / 0.5886 GB, free: 22.04 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.834e-05/0.3548, allocations: 24.67 kB / 0.5886 GB, free: 22.02 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.3548, allocations: 4.312 kB / 0.5886 GB, free: 22.02 MB / 446.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.568e-05/0.3549, allocations: 65.19 kB / 0.5887 GB, free: 21.96 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.511e-05/0.3549, allocations: 7.656 kB / 0.5887 GB, free: 21.96 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.3549, allocations: 3.984 kB / 0.5887 GB, free: 21.96 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.42e-05/0.3549, allocations: 1.25 kB / 0.5887 GB, free: 21.96 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.071e-05/0.355, allocations: 10.22 kB / 0.5887 GB, free: 21.96 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.355, allocations: 3.938 kB / 0.5887 GB, free: 21.95 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001098/0.3551, allocations: 14.73 kB / 0.5887 GB, free: 21.95 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.356e-06/0.3552, allocations: 1.5 kB / 0.5887 GB, free: 21.95 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 6.319e-05/0.3552, allocations: 123.8 kB / 0.5888 GB, free: 21.82 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.536e-05/0.3552, allocations: 1.438 kB / 0.5888 GB, free: 21.82 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.943e-05/0.3553, allocations: 4.719 kB / 0.5889 GB, free: 21.82 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.3553, allocations: 1.469 kB / 0.5889 GB, free: 21.82 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.3553, allocations: 0 / 0.5889 GB, free: 21.82 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.574e-06/0.3553, allocations: 0.8438 kB / 0.5889 GB, free: 21.82 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.918e-05/0.3554, allocations: 173.1 kB / 0.589 GB, free: 21.61 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.3554, allocations: 5.859 kB / 0.589 GB, free: 21.6 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.268e-05/0.3554, allocations: 2.875 kB / 0.589 GB, free: 21.6 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.3554, allocations: 1.094 kB / 0.589 GB, free: 21.6 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.444e-06/0.3554, allocations: 0 / 0.589 GB, free: 21.6 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.3554, allocations: 1.312 kB / 0.589 GB, free: 21.6 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.3554, allocations: 0.5938 kB / 0.589 GB, free: 21.6 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001158/0.3556, allocations: 97.3 kB / 0.5891 GB, free: 21.51 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.826e-05/0.3556, allocations: 87.36 kB / 0.5892 GB, free: 21.41 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.315e-05/0.3556, allocations: 5.391 kB / 0.5892 GB, free: 21.41 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001066/0.3558, allocations: 5.375 kB / 0.5892 GB, free: 21.41 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.211e-05/0.3558, allocations: 11.61 kB / 0.5892 GB, free: 21.4 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.123e-05/0.3558, allocations: 1.312 kB / 0.5892 GB, free: 21.4 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.024e-05/0.3558, allocations: 88.95 kB / 0.5893 GB, free: 21.32 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3559, allocations: 1.312 kB / 0.5893 GB, free: 21.32 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000206/0.3561, allocations: 8.812 kB / 0.5893 GB, free: 21.32 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.583e-05/0.3562, allocations: 105.4 kB / 0.5894 GB, free: 21.23 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001276/0.3563, allocations: 34.3 kB / 0.5895 GB, free: 21.21 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.3563, allocations: 0 / 0.5895 GB, free: 21.21 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 3.932e-05/0.3564, allocations: 14.5 kB / 0.5895 GB, free: 21.21 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001576/0.3565, allocations: 6.469 kB / 0.5895 GB, free: 21.2 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002917/0.3568, allocations: 145.8 kB / 0.5896 GB, free: 21.05 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.294e-05/0.3569, allocations: 0.6794 MB / 0.5903 GB, free: 20.36 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.778e-05/0.357, allocations: 10.69 kB / 0.5903 GB, free: 20.35 MB / 446.1 MB Notification: Performance of SimCode: time 2.3e-07/0.357, allocations: 0 / 0.5903 GB, free: 20.35 MB / 446.1 MB Notification: Performance of Templates: time 0.002065/0.359, allocations: 0.819 MB / 0.5911 GB, free: 19.96 MB / 446.1 MB make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.makefile (rm -f IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.sim & ./IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe 2>&1)