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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001154/0.001154, allocations: 174.7 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7245/0.7245, allocations: 133.4 MB / 146.7 MB, free: 10.78 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.661/1.661, allocations: 221.3 MB / 400.4 MB, free: 5.848 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008889/0.0008891, allocations: 85.11 kB / 483.3 MB, free: 5.859 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 4.159e-05/4.163e-05, allocations: 3.688 kB / 0.5601 GB, free: 87.96 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1829/0.183, allocations: 82.31 MB / 0.6404 GB, free: 7.797 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.705/0.888, allocations: 111.6 MB / 0.7494 GB, free: 11.97 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000245/0.8883, allocations: 84.34 kB / 0.7495 GB, free: 11.97 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.002238/0.8906, allocations: 0.7511 MB / 0.7502 GB, free: 27.63 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.653e-06/0.8906, allocations: 0 / 0.7502 GB, free: 27.63 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 8.175e-06/0.8906, allocations: 3.969 kB / 0.7502 GB, free: 27.63 MB / 0.5105 GB 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.0002626/0.8909, allocations: 315 kB / 0.7505 GB, free: 27.29 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.47e-05/0.8909, allocations: 8.438 kB / 0.7505 GB, free: 27.29 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.422e-05/0.8909, allocations: 8.406 kB / 0.7505 GB, free: 27.29 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001432/0.8911, allocations: 169.9 kB / 0.7507 GB, free: 27.09 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.352e-05/0.8911, allocations: 0 / 0.7507 GB, free: 27.09 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.037e-05/0.8911, allocations: 3.875 kB / 0.7507 GB, free: 27.09 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.273e-05/0.8912, allocations: 36.89 kB / 0.7507 GB, free: 27.05 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.764e-06/0.8912, allocations: 0 / 0.7507 GB, free: 27.05 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.338e-06/0.8912, allocations: 0 / 0.7507 GB, free: 27.05 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.8913, allocations: 0 / 0.7507 GB, free: 27.05 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.296e-05/0.8913, allocations: 11.38 kB / 0.7507 GB, free: 27.05 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000312/0.8916, allocations: 242.2 kB / 0.751 GB, free: 26.78 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 4.43e-05/0.8917, allocations: 25.52 kB / 0.751 GB, free: 26.76 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.761e-05/0.8917, allocations: 16.39 kB / 0.751 GB, free: 26.75 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 9.328e-06/0.8917, allocations: 0 / 0.751 GB, free: 26.75 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.814e-05/0.8917, allocations: 32.86 kB / 0.751 GB, free: 26.71 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=2): time 7.91e-07/0.8917, allocations: 3.844 kB / 0.751 GB, free: 26.71 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2): time 0.0001219/0.8919, allocations: 37.23 kB / 0.7511 GB, free: 26.67 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.524e-05/0.8919, allocations: 55.28 kB / 0.7511 GB, free: 26.61 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.428e-05/0.892, allocations: 94.98 kB / 0.7512 GB, free: 26.52 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.288e-05/0.892, allocations: 29.45 kB / 0.7512 GB, free: 26.48 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 5.562e-05/0.8921, allocations: 80.14 kB / 0.7513 GB, free: 26.4 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 1.37e-05/0.8921, allocations: 3.906 kB / 0.7513 GB, free: 26.4 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.605e-06/0.8921, allocations: 0 / 0.7513 GB, free: 26.4 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001248/0.8922, allocations: 321.1 kB / 0.7516 GB, free: 26.08 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.054e-05/0.8923, allocations: 3.438 kB / 0.7516 GB, free: 26.08 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.194e-06/0.8923, allocations: 3.844 kB / 0.7516 GB, free: 26.08 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.481e-05/0.8923, allocations: 4.062 kB / 0.7516 GB, free: 26.08 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.8923, allocations: 7.875 kB / 0.7516 GB, free: 26.07 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.426e-05/0.8924, allocations: 47.36 kB / 0.7517 GB, free: 26.04 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.277e-05/0.8924, allocations: 3.844 kB / 0.7517 GB, free: 26.04 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.8924, allocations: 0 / 0.7517 GB, free: 26.04 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.187e-05/0.8924, allocations: 0 / 0.7517 GB, free: 26.04 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.216e-05/0.8925, allocations: 3.844 kB / 0.7517 GB, free: 26.04 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.8925, allocations: 0 / 0.7517 GB, free: 26.04 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.581e-05/0.8925, allocations: 0 / 0.7517 GB, free: 26.04 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.737e-06/0.8925, allocations: 0 / 0.7517 GB, free: 26.04 MB / 0.5105 GB 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.172e-05/0.8926, allocations: 115.3 kB / 0.7518 GB, free: 25.92 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.126e-05/0.8926, allocations: 3.906 kB / 0.7518 GB, free: 25.92 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.216e-05/0.8926, allocations: 6.75 kB / 0.7518 GB, free: 25.91 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.052e-06/0.8926, allocations: 0 / 0.7518 GB, free: 25.91 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.459e-06/0.8927, allocations: 0 / 0.7518 GB, free: 25.91 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.8927, allocations: 6.844 kB / 0.7518 GB, free: 25.91 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001471/0.8928, allocations: 158.4 kB / 0.752 GB, free: 25.72 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.11e-07/0.8928, allocations: 0 / 0.752 GB, free: 25.72 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.4e-05/0.8928, allocations: 192 / 0.752 GB, free: 25.72 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.373e-06/0.8928, allocations: 0 / 0.752 GB, free: 25.72 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.18e-06/0.8929, allocations: 7.906 kB / 0.752 GB, free: 25.72 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.31e-07/0.8929, allocations: 0 / 0.752 GB, free: 25.72 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.8929, allocations: 3.984 kB / 0.752 GB, free: 25.71 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.414e-05/0.893, allocations: 137.4 kB / 0.7521 GB, free: 25.58 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 3.461e-05/0.893, allocations: 83.56 kB / 0.7522 GB, free: 25.48 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.096e-05/0.893, allocations: 0 / 0.7522 GB, free: 25.48 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.863e-05/0.8931, allocations: 0 / 0.7522 GB, free: 25.48 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.236e-05/0.8931, allocations: 4.031 kB / 0.7522 GB, free: 25.48 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.313e-06/0.8931, allocations: 0 / 0.7522 GB, free: 25.48 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 5.516e-05/0.8932, allocations: 82.72 kB / 0.7523 GB, free: 25.41 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8932, allocations: 0 / 0.7523 GB, free: 25.41 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002236/0.8934, allocations: 3.844 kB / 0.7523 GB, free: 25.41 MB / 0.5105 GB 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001155/0.8935, allocations: 101 kB / 0.7524 GB, free: 25.32 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 6.031e-05/0.8936, allocations: 7.469 kB / 0.7524 GB, free: 25.32 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.8936, allocations: 3.938 kB / 0.7524 GB, free: 25.32 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 7.614e-06/0.8936, allocations: 7.906 kB / 0.7524 GB, free: 25.31 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001301/0.8937, allocations: 7.797 kB / 0.7524 GB, free: 25.31 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001704/0.8939, allocations: 64.25 kB / 0.7525 GB, free: 25.24 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002715/0.8942, allocations: 0.6757 MB / 0.7531 GB, free: 24.54 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 1.748e-05/0.8942, allocations: 2.297 kB / 0.7531 GB, free: 24.54 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.922e-05/0.8943, allocations: 11.28 kB / 0.7531 GB, free: 24.54 MB / 0.5105 GB Notification: Performance of SimCode: time 5.01e-07/0.8943, allocations: 0 / 0.7531 GB, free: 24.54 MB / 0.5105 GB Notification: Performance of Templates: time 0.00183/0.8961, allocations: 231 kB / 0.7534 GB, free: 24.48 MB / 0.5105 GB 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 -lv LOG_STATS > IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe 2>&1)