Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.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.LocalCivilTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime") translateModel(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001523/0.001523, allocations: 98.92 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.001755/0.001754, allocations: 193.4 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.348/1.348, 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-master/package.mo): time 0.7765/0.7765, allocations: 135.1 MB / 426.3 MB, free: 4.105 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001221/0.001221, allocations: 63.91 kB / 0.5068 GB, free: 7.621 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3731/0.3744, allocations: 80.91 MB / 0.5858 GB, free: 25.58 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime): time 0.002434/0.3768, allocations: 1.415 MB / 0.5871 GB, free: 24.48 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005272/0.3774, allocations: 370.9 kB / 0.5875 GB, free: 24.2 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.499e-05/0.3774, allocations: 0 / 0.5875 GB, free: 24.2 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.204e-05/0.3775, allocations: 0 / 0.5875 GB, free: 24.2 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 7.119e-05/0.3776, allocations: 9.422 kB / 0.5875 GB, free: 24.2 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.243e-05/0.3776, allocations: 5.75 kB / 0.5875 GB, free: 24.19 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.073e-05/0.3777, allocations: 16.5 kB / 0.5875 GB, free: 24.18 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.531e-05/0.3778, allocations: 7.078 kB / 0.5875 GB, free: 24.18 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000137/0.3779, allocations: 21.48 kB / 0.5876 GB, free: 24.16 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.614e-05/0.378, allocations: 2.781 kB / 0.5876 GB, free: 24.16 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.007e-05/0.378, allocations: 1.5 kB / 0.5876 GB, free: 24.16 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.801e-06/0.378, allocations: 1.906 kB / 0.5876 GB, free: 24.16 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.257e-05/0.378, allocations: 7.922 kB / 0.5876 GB, free: 24.16 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 1.975e-05/0.378, allocations: 10.12 kB / 0.5876 GB, free: 24.15 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 6.104e-05/0.3781, allocations: 16.23 kB / 0.5876 GB, free: 24.14 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.3781, allocations: 1.5 kB / 0.5876 GB, free: 24.14 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.244e-06/0.3781, allocations: 0 / 0.5876 GB, free: 24.14 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.529e-06/0.3781, allocations: 0 / 0.5876 GB, free: 24.14 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003215/0.3784, allocations: 326.8 kB / 0.5879 GB, free: 23.79 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.338e-05/0.3785, allocations: 11.05 kB / 0.5879 GB, free: 23.79 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.711e-05/0.3785, allocations: 2.969 kB / 0.5879 GB, free: 23.79 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.157e-05/0.3786, allocations: 166 kB / 0.5881 GB, free: 23.59 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.064e-05/0.3786, allocations: 1.125 kB / 0.5881 GB, free: 23.59 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.775e-06/0.3786, allocations: 1.656 kB / 0.5881 GB, free: 23.59 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.177e-05/0.3787, allocations: 43.06 kB / 0.5881 GB, free: 23.54 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.941e-06/0.3787, allocations: 1.094 kB / 0.5881 GB, free: 23.54 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.426e-06/0.3787, allocations: 4.719 kB / 0.5881 GB, free: 23.54 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-06/0.3787, allocations: 1.219 kB / 0.5881 GB, free: 23.54 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.015e-05/0.3788, allocations: 4.125 kB / 0.5881 GB, free: 23.54 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002236/0.379, allocations: 249 kB / 0.5884 GB, free: 23.25 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.202e-05/0.3791, allocations: 20.98 kB / 0.5884 GB, free: 23.23 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.051e-05/0.3791, allocations: 15.3 kB / 0.5884 GB, free: 23.22 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.172e-05/0.3791, allocations: 4.688 kB / 0.5884 GB, free: 23.21 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.468e-05/0.3791, allocations: 36.27 kB / 0.5884 GB, free: 23.17 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.3792, allocations: 4.688 kB / 0.5885 GB, free: 23.17 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001223/0.3793, allocations: 40.42 kB / 0.5885 GB, free: 23.13 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.142e-05/0.3793, allocations: 52.88 kB / 0.5885 GB, free: 23.07 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.597e-05/0.3794, allocations: 102.2 kB / 0.5886 GB, free: 22.96 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.45e-06/0.3794, allocations: 26.27 kB / 0.5887 GB, free: 22.93 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.199e-05/0.3794, allocations: 82.02 kB / 0.5887 GB, free: 22.85 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.524e-05/0.3794, allocations: 14.45 kB / 0.5888 GB, free: 22.84 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.38e-05/0.3795, allocations: 15 kB / 0.5888 GB, free: 22.82 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.588e-05/0.3795, allocations: 312.7 kB / 0.5891 GB, free: 22.51 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.02e-05/0.3795, allocations: 2.438 kB / 0.5891 GB, free: 22.51 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.564e-06/0.3795, allocations: 7.906 kB / 0.5891 GB, free: 22.5 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.076e-05/0.3796, allocations: 22.69 kB / 0.5891 GB, free: 22.48 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.3796, allocations: 0 / 0.5891 GB, free: 22.48 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.844e-05/0.3796, allocations: 38.86 kB / 0.5891 GB, free: 22.45 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.205e-05/0.3796, allocations: 5.094 kB / 0.5891 GB, free: 22.45 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.707e-06/0.3796, allocations: 0 / 0.5891 GB, free: 22.45 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.24e-05/0.3797, allocations: 3.219 kB / 0.5891 GB, free: 22.45 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.382e-05/0.3797, allocations: 2.75 kB / 0.5891 GB, free: 22.45 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.679e-06/0.3797, allocations: 0 / 0.5891 GB, free: 22.45 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.666e-05/0.3797, allocations: 1.828 kB / 0.5891 GB, free: 22.45 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.248e-06/0.3797, allocations: 5.906 kB / 0.5892 GB, free: 22.45 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 3.799e-05/0.3798, allocations: 121.6 kB / 0.5893 GB, free: 22.32 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.296e-05/0.3798, allocations: 5.281 kB / 0.5893 GB, free: 22.32 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.398e-05/0.3798, allocations: 4.562 kB / 0.5893 GB, free: 22.32 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.3798, allocations: 3.984 kB / 0.5893 GB, free: 22.31 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.3798, allocations: 0 / 0.5893 GB, free: 22.31 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.3799, allocations: 1.438 kB / 0.5893 GB, free: 22.31 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001016/0.38, allocations: 157.3 kB / 0.5894 GB, free: 22.11 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.81e-07/0.38, allocations: 0 / 0.5894 GB, free: 22.11 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.715e-05/0.38, allocations: 4.344 kB / 0.5894 GB, free: 22.11 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.38, allocations: 0 / 0.5894 GB, free: 22.11 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.42e-06/0.38, allocations: 2.062 kB / 0.5894 GB, free: 22.11 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.38, allocations: 0 / 0.5894 GB, free: 22.11 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.38, allocations: 1.562 kB / 0.5894 GB, free: 22.11 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.811e-05/0.3801, allocations: 138.8 kB / 0.5896 GB, free: 21.97 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.653e-05/0.3801, allocations: 82.3 kB / 0.5897 GB, free: 21.88 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.989e-06/0.3801, allocations: 5.281 kB / 0.5897 GB, free: 21.87 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.525e-05/0.3802, allocations: 0 / 0.5897 GB, free: 21.87 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.17e-05/0.3802, allocations: 8.469 kB / 0.5897 GB, free: 21.87 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.663e-06/0.3802, allocations: 0 / 0.5897 GB, free: 21.87 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.037e-05/0.3802, allocations: 86.36 kB / 0.5897 GB, free: 21.79 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3802, allocations: 0 / 0.5897 GB, free: 21.79 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002118/0.3804, allocations: 3.719 kB / 0.5898 GB, free: 21.79 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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 Backend phase and start with SimCode phase: time 7.541e-05/0.3805, allocations: 98.48 kB / 0.5898 GB, free: 21.7 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 7.662e-05/0.3806, allocations: 11.91 kB / 0.5899 GB, free: 21.7 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.3806, allocations: 0 / 0.5899 GB, free: 21.7 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.426e-06/0.3806, allocations: 4 kB / 0.5899 GB, free: 21.7 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002081/0.3808, allocations: 12.44 kB / 0.5899 GB, free: 21.69 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002089/0.3811, allocations: 107 kB / 0.59 GB, free: 21.57 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.305e-05/0.3812, allocations: 0.6777 MB / 0.5906 GB, free: 20.88 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.577e-05/0.3812, allocations: 1.312 kB / 0.5906 GB, free: 20.88 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.43e-05/0.3812, allocations: 9.781 kB / 0.5906 GB, free: 20.87 MB / 446.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3812, allocations: 0 / 0.5906 GB, free: 20.87 MB / 446.1 MB Notification: Performance of Templates: time 0.001721/0.3829, allocations: 234.3 kB / 0.5909 GB, free: 20.78 MB / 446.1 MB make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.makefile (rm -f IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.sim & ./IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe 2>&1)