Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.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.SolarTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime") translateModel(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001117/0.001117, allocations: 103.8 kB / 16.36 MB, free: 5.547 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.001084/0.001084, allocations: 194.5 kB / 17.31 MB, free: 5.184 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.343/1.343, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7974/0.7974, allocations: 135.1 MB / 426.3 MB, free: 4.188 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001253/0.001253, allocations: 67.88 kB / 0.5068 GB, free: 7.711 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.312/0.3132, allocations: 80.92 MB / 0.5858 GB, free: 25.62 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime): time 0.002631/0.3159, allocations: 1.471 MB / 0.5872 GB, free: 24.49 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007128/0.3167, allocations: 428.2 kB / 0.5876 GB, free: 24.16 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.809e-05/0.3167, allocations: 1.188 kB / 0.5876 GB, free: 24.16 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 3.345e-05/0.3168, allocations: 3.938 kB / 0.5876 GB, free: 24.16 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 9.965e-05/0.3169, allocations: 9.984 kB / 0.5876 GB, free: 24.15 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001464/0.317, allocations: 20.69 kB / 0.5877 GB, free: 24.13 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 8.584e-05/0.3171, allocations: 41.09 kB / 0.5877 GB, free: 24.11 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001367/0.3173, allocations: 17.03 kB / 0.5877 GB, free: 24.1 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.207e-05/0.3174, allocations: 29.75 kB / 0.5877 GB, free: 24.08 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.371e-05/0.3174, allocations: 17.86 kB / 0.5878 GB, free: 24.07 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.049e-05/0.3175, allocations: 4.656 kB / 0.5878 GB, free: 24.07 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.381e-05/0.3175, allocations: 3.312 kB / 0.5878 GB, free: 24.07 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 2.276e-05/0.3175, allocations: 9.141 kB / 0.5878 GB, free: 24.06 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.469e-05/0.3176, allocations: 23.34 kB / 0.5878 GB, free: 24.05 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000102/0.3177, allocations: 40.17 kB / 0.5878 GB, free: 24.02 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.692e-06/0.3177, allocations: 0 / 0.5878 GB, free: 24.02 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.915e-06/0.3177, allocations: 0.7812 kB / 0.5878 GB, free: 24.02 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.157e-05/0.3177, allocations: 1.469 kB / 0.5878 GB, free: 24.02 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004922/0.3182, allocations: 349.1 kB / 0.5882 GB, free: 23.65 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.846e-05/0.3182, allocations: 11.33 kB / 0.5882 GB, free: 23.65 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.38e-05/0.3183, allocations: 7.5 kB / 0.5882 GB, free: 23.65 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001042/0.3184, allocations: 175.1 kB / 0.5884 GB, free: 23.44 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.641e-05/0.3184, allocations: 5.469 kB / 0.5884 GB, free: 23.44 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.16e-05/0.3184, allocations: 5.312 kB / 0.5884 GB, free: 23.44 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001/0.3185, allocations: 53.59 kB / 0.5884 GB, free: 23.39 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.186e-06/0.3186, allocations: 0 / 0.5884 GB, free: 23.39 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.358e-06/0.3186, allocations: 1.781 kB / 0.5884 GB, free: 23.39 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.3186, allocations: 1.312 kB / 0.5884 GB, free: 23.39 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.297e-05/0.3187, allocations: 29.77 kB / 0.5884 GB, free: 23.38 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003161/0.319, allocations: 279.3 kB / 0.5887 GB, free: 23.07 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001816/0.3192, allocations: 62.31 kB / 0.5888 GB, free: 23.03 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.595e-05/0.3192, allocations: 28.98 kB / 0.5888 GB, free: 23.01 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.025e-05/0.3192, allocations: 5.234 kB / 0.5888 GB, free: 23.01 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.285e-05/0.3193, allocations: 35.62 kB / 0.5888 GB, free: 22.96 MB / 446.1 MB Notification: Performance of pre-optimization done (n=5): time 1.082e-06/0.3193, allocations: 1.031 kB / 0.5888 GB, free: 22.96 MB / 446.1 MB Notification: Performance of matching and sorting (n=5): time 0.00018/0.3195, allocations: 69.44 kB / 0.5889 GB, free: 22.91 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.832e-05/0.3195, allocations: 52.25 kB / 0.589 GB, free: 22.85 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.866e-05/0.3195, allocations: 107.1 kB / 0.5891 GB, free: 22.74 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.775e-06/0.3196, allocations: 26.73 kB / 0.5891 GB, free: 22.71 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.409e-05/0.3196, allocations: 85.7 kB / 0.5892 GB, free: 22.62 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.958e-05/0.3196, allocations: 16.19 kB / 0.5892 GB, free: 22.61 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.981e-05/0.3196, allocations: 22.11 kB / 0.5892 GB, free: 22.59 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.755e-05/0.3197, allocations: 314.8 kB / 0.5895 GB, free: 22.27 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.274e-05/0.3197, allocations: 13.92 kB / 0.5895 GB, free: 22.27 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.718e-05/0.3197, allocations: 10.22 kB / 0.5895 GB, free: 22.26 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.669e-05/0.3198, allocations: 30.98 kB / 0.5896 GB, free: 22.24 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.3198, allocations: 0 / 0.5896 GB, free: 22.24 MB / 446.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.936e-05/0.3199, allocations: 64.5 kB / 0.5896 GB, free: 22.19 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.233e-05/0.3199, allocations: 10.16 kB / 0.5896 GB, free: 22.19 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.3199, allocations: 3.984 kB / 0.5896 GB, free: 22.18 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.383e-05/0.3199, allocations: 5.219 kB / 0.5896 GB, free: 22.18 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.472e-05/0.32, allocations: 9.281 kB / 0.5896 GB, free: 22.18 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.16e-06/0.32, allocations: 0 / 0.5896 GB, free: 22.18 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.765e-05/0.32, allocations: 1.469 kB / 0.5896 GB, free: 22.18 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.219e-06/0.32, allocations: 1.281 kB / 0.5896 GB, free: 22.18 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 (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 4.808e-05/0.3201, allocations: 115.2 kB / 0.5898 GB, free: 22.06 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.343e-05/0.3201, allocations: 7.672 kB / 0.5898 GB, free: 22.05 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001385/0.3203, allocations: 86.17 kB / 0.5898 GB, free: 21.99 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.574e-06/0.3203, allocations: 2.344 kB / 0.5898 GB, free: 21.99 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.3203, allocations: 0 / 0.5898 GB, free: 21.99 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.3203, allocations: 5.719 kB / 0.5899 GB, free: 21.99 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001225/0.3204, allocations: 181.9 kB / 0.59 GB, free: 21.77 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.21e-07/0.3204, allocations: 0.7188 kB / 0.59 GB, free: 21.77 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.626e-05/0.3205, allocations: 10.66 kB / 0.59 GB, free: 21.77 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-06/0.3205, allocations: 0.8125 kB / 0.59 GB, free: 21.77 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.375e-06/0.3205, allocations: 5.328 kB / 0.59 GB, free: 21.77 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.3205, allocations: 0.5312 kB / 0.59 GB, free: 21.77 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.3205, allocations: 3.812 kB / 0.59 GB, free: 21.77 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001013/0.3206, allocations: 170.9 kB / 0.5902 GB, free: 21.61 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.701e-05/0.3207, allocations: 90.52 kB / 0.5903 GB, free: 21.51 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.187e-05/0.3207, allocations: 1.594 kB / 0.5903 GB, free: 21.51 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.814e-05/0.3207, allocations: 5.688 kB / 0.5903 GB, free: 21.5 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.565e-05/0.3208, allocations: 10.98 kB / 0.5903 GB, free: 21.5 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.338e-06/0.3208, allocations: 1.531 kB / 0.5903 GB, free: 21.5 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.06e-05/0.3208, allocations: 82.16 kB / 0.5904 GB, free: 21.42 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3208, allocations: 1.531 kB / 0.5904 GB, free: 21.42 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002079/0.321, allocations: 8.344 kB / 0.5904 GB, free: 21.42 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 (8): * Single equations (assignments): 8 * 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 8.443e-05/0.3211, allocations: 102.8 kB / 0.5905 GB, free: 21.33 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 9.464e-05/0.3212, allocations: 35.11 kB / 0.5905 GB, free: 21.32 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.714e-06/0.3212, allocations: 0 / 0.5905 GB, free: 21.32 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 3.426e-05/0.3212, allocations: 31.67 kB / 0.5906 GB, free: 21.3 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000194/0.3214, allocations: 1.438 kB / 0.5906 GB, free: 21.3 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002617/0.3217, allocations: 152.1 kB / 0.5907 GB, free: 21.16 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.469e-05/0.3218, allocations: 0.6845 MB / 0.5914 GB, free: 20.46 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.801e-05/0.3219, allocations: 4.812 kB / 0.5914 GB, free: 20.46 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.761e-05/0.3219, allocations: 11.97 kB / 0.5914 GB, free: 20.45 MB / 446.1 MB Notification: Performance of SimCode: time 2.1e-07/0.3219, allocations: 0 / 0.5914 GB, free: 20.45 MB / 446.1 MB Notification: Performance of Templates: time 0.001964/0.3239, allocations: 464.3 kB / 0.5918 GB, free: 20.02 MB / 446.1 MB make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.makefile (rm -f IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.sim & ./IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe 2>&1)