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.004929/0.004929, allocations: 97.27 kB / 15.73 MB, free: 6.047 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.001281/0.001281, allocations: 196.8 kB / 16.68 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.49/1.49, allocations: 222.9 MB / 240.4 MB, free: 4.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.036/1.036, allocations: 135.6 MB / 426.1 MB, free: 11.96 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001929/0.001929, allocations: 67.89 kB / 0.5863 GB, free: 2.715 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5933/0.5952, allocations: 81.03 MB / 0.6654 GB, free: 7.254 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime): time 0.003375/0.5987, allocations: 1.404 MB / 0.6668 GB, free: 6.156 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0007585/0.5994, allocations: 372.7 kB / 0.6671 GB, free: 5.867 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.97e-05/0.5995, allocations: 0 / 0.6671 GB, free: 5.867 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.605e-05/0.5996, allocations: 0 / 0.6671 GB, free: 5.867 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001056/0.5997, allocations: 13.45 kB / 0.6671 GB, free: 5.855 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 3.264e-05/0.5997, allocations: 1 kB / 0.6671 GB, free: 5.855 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.71e-05/0.5998, allocations: 16.03 kB / 0.6671 GB, free: 5.848 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001367/0.5999, allocations: 10.52 kB / 0.6671 GB, free: 5.84 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001729/0.6001, allocations: 7.922 kB / 0.6672 GB, free: 5.836 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.912e-05/0.6002, allocations: 10.5 kB / 0.6672 GB, free: 5.828 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.507e-05/0.6002, allocations: 1.188 kB / 0.6672 GB, free: 5.828 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 5.991e-06/0.6002, allocations: 1.312 kB / 0.6672 GB, free: 5.828 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.505e-05/0.6003, allocations: 5.359 kB / 0.6672 GB, free: 5.824 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.59e-05/0.6003, allocations: 10.75 kB / 0.6672 GB, free: 5.816 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 8.023e-05/0.6004, allocations: 20.44 kB / 0.6672 GB, free: 5.805 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.6004, allocations: 7.875 kB / 0.6672 GB, free: 5.797 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.703e-06/0.6004, allocations: 0 / 0.6672 GB, free: 5.797 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.026e-05/0.6004, allocations: 0 / 0.6672 GB, free: 5.797 MB / 0.4981 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.0003593/0.6008, allocations: 322.2 kB / 0.6675 GB, free: 5.445 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.001e-05/0.6008, allocations: 9.188 kB / 0.6675 GB, free: 5.445 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.161e-05/0.6008, allocations: 6.266 kB / 0.6675 GB, free: 5.441 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.955e-05/0.601, allocations: 161.6 kB / 0.6677 GB, free: 5.246 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.155e-05/0.601, allocations: 1.781 kB / 0.6677 GB, free: 5.246 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.456e-06/0.601, allocations: 5.719 kB / 0.6677 GB, free: 5.242 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.549e-05/0.6011, allocations: 45.89 kB / 0.6677 GB, free: 5.195 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.736e-06/0.6011, allocations: 0 / 0.6677 GB, free: 5.195 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.847e-06/0.6011, allocations: 0 / 0.6677 GB, free: 5.195 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.6011, allocations: 1.406 kB / 0.6677 GB, free: 5.195 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.782e-05/0.6012, allocations: 7.781 kB / 0.6677 GB, free: 5.191 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002742/0.6014, allocations: 252.3 kB / 0.668 GB, free: 4.906 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 5.064e-05/0.6015, allocations: 27.83 kB / 0.668 GB, free: 4.875 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.904e-05/0.6015, allocations: 13.92 kB / 0.668 GB, free: 4.863 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.041e-05/0.6015, allocations: 0 / 0.668 GB, free: 4.863 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.645e-05/0.6016, allocations: 36.77 kB / 0.6681 GB, free: 4.82 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 7.51e-07/0.6016, allocations: 0 / 0.6681 GB, free: 4.82 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0001467/0.6017, allocations: 42.98 kB / 0.6681 GB, free: 4.781 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.982e-05/0.6018, allocations: 51.41 kB / 0.6682 GB, free: 4.719 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.3e-05/0.6018, allocations: 102.5 kB / 0.6683 GB, free: 4.613 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 7.685e-06/0.6018, allocations: 26.8 kB / 0.6683 GB, free: 4.582 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.735e-05/0.6019, allocations: 88.09 kB / 0.6684 GB, free: 4.492 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.486e-05/0.6019, allocations: 5.422 kB / 0.6684 GB, free: 4.488 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.386e-05/0.6019, allocations: 11.97 kB / 0.6684 GB, free: 4.473 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.797e-05/0.602, allocations: 316 kB / 0.6687 GB, free: 4.156 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.275e-05/0.602, allocations: 1.25 kB / 0.6687 GB, free: 4.156 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.452e-06/0.602, allocations: 2.5 kB / 0.6687 GB, free: 4.156 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.519e-05/0.602, allocations: 25.81 kB / 0.6687 GB, free: 4.133 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.602, allocations: 1.25 kB / 0.6687 GB, free: 4.133 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.654e-05/0.6021, allocations: 40.89 kB / 0.6687 GB, free: 4.094 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.348e-05/0.6021, allocations: 6 kB / 0.6688 GB, free: 4.094 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.6021, allocations: 0 / 0.6688 GB, free: 4.094 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.533e-05/0.6021, allocations: 1.094 kB / 0.6688 GB, free: 4.094 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.276e-05/0.6022, allocations: 6.312 kB / 0.6688 GB, free: 4.09 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.598e-06/0.6022, allocations: 0 / 0.6688 GB, free: 4.09 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.666e-05/0.6022, allocations: 5.562 kB / 0.6688 GB, free: 4.086 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.085e-06/0.6022, allocations: 0 / 0.6688 GB, free: 4.086 MB / 0.4981 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 () * 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 5.681e-05/0.6023, allocations: 119.8 kB / 0.6689 GB, free: 3.961 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.903e-05/0.6023, allocations: 1.062 kB / 0.6689 GB, free: 3.961 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.841e-05/0.6023, allocations: 4.219 kB / 0.6689 GB, free: 3.953 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.112e-06/0.6023, allocations: 0 / 0.6689 GB, free: 3.953 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.132e-06/0.6024, allocations: 5.125 kB / 0.6689 GB, free: 3.949 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.6024, allocations: 0 / 0.6689 GB, free: 3.949 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001064/0.6025, allocations: 157.5 kB / 0.669 GB, free: 3.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.6025, allocations: 0 / 0.669 GB, free: 3.75 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.523e-05/0.6025, allocations: 6.844 kB / 0.669 GB, free: 3.746 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.272e-06/0.6025, allocations: 0 / 0.669 GB, free: 3.746 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.963e-06/0.6025, allocations: 1.406 kB / 0.669 GB, free: 3.746 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.6025, allocations: 3.938 kB / 0.6691 GB, free: 3.742 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.6025, allocations: 3.984 kB / 0.6691 GB, free: 3.738 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.883e-05/0.6026, allocations: 141.4 kB / 0.6692 GB, free: 3.594 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.827e-05/0.6026, allocations: 82.16 kB / 0.6693 GB, free: 3.496 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.136e-05/0.6026, allocations: 4.031 kB / 0.6693 GB, free: 3.492 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.373e-05/0.6027, allocations: 1.5 kB / 0.6693 GB, free: 3.492 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.154e-05/0.6027, allocations: 0 / 0.6693 GB, free: 3.492 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.372e-06/0.6027, allocations: 1.281 kB / 0.6693 GB, free: 3.492 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.754e-05/0.6027, allocations: 86.12 kB / 0.6694 GB, free: 3.41 MB / 0.4981 GB Notification: Performance of sort global known variables: time 9e-08/0.6027, allocations: 1.312 kB / 0.6694 GB, free: 3.41 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002196/0.603, allocations: 2.531 kB / 0.6694 GB, free: 3.41 MB / 0.4981 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 () * 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 0.0001301/0.6031, allocations: 101.3 kB / 0.6695 GB, free: 3.316 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001159/0.6032, allocations: 15.06 kB / 0.6695 GB, free: 3.309 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.185e-06/0.6032, allocations: 0 / 0.6695 GB, free: 3.309 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.105e-06/0.6032, allocations: 3.281 kB / 0.6695 GB, free: 3.309 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002204/0.6035, allocations: 13.14 kB / 0.6695 GB, free: 3.297 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003147/0.6038, allocations: 99.59 kB / 0.6696 GB, free: 3.191 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001758/0.604, allocations: 0.6768 MB / 0.6702 GB, free: 2.492 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.395e-05/0.604, allocations: 0 / 0.6702 GB, free: 2.492 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.09e-05/0.6041, allocations: 9.25 kB / 0.6703 GB, free: 2.484 MB / 0.4981 GB Notification: Performance of SimCode: time 3.31e-07/0.6041, allocations: 7.938 kB / 0.6703 GB, free: 2.477 MB / 0.4981 GB Notification: Performance of Templates: time 0.002992/0.6071, allocations: 238.8 kB / 0.6705 GB, free: 2.348 MB / 0.4981 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)