Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime") translateModel(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.001528/0.001528, allocations: 106.1 kB / 16.27 MB, free: 6.414 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.001749/0.00175, allocations: 189.7 kB / 17.2 MB, free: 5.953 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.42/1.42, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8085/0.8085, allocations: 132.2 MB / 423.2 MB, free: 6.656 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00144/0.00144, allocations: 63.91 kB / 0.5024 GB, free: 11.67 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3313/0.3327, allocations: 80.19 MB / 0.5807 GB, free: 27.25 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime): time 0.002269/0.335, allocations: 1.407 MB / 0.5821 GB, free: 26.16 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004595/0.3355, allocations: 374.5 kB / 0.5825 GB, free: 25.87 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.444e-05/0.3356, allocations: 0 / 0.5825 GB, free: 25.87 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.238e-05/0.3356, allocations: 3.938 kB / 0.5825 GB, free: 25.87 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 7.323e-05/0.3357, allocations: 5.297 kB / 0.5825 GB, free: 25.86 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.161e-05/0.3357, allocations: 2.75 kB / 0.5825 GB, free: 25.86 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.103e-05/0.3358, allocations: 15.56 kB / 0.5825 GB, free: 25.86 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.288e-05/0.3359, allocations: 15.64 kB / 0.5825 GB, free: 25.84 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001208/0.336, allocations: 12.2 kB / 0.5825 GB, free: 25.84 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.321e-05/0.336, allocations: 8.781 kB / 0.5825 GB, free: 25.83 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.048e-05/0.3361, allocations: 1.844 kB / 0.5825 GB, free: 25.83 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.264e-05/0.3361, allocations: 1.281 kB / 0.5825 GB, free: 25.83 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 2.822e-05/0.3361, allocations: 7.922 kB / 0.5826 GB, free: 25.82 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 1.957e-05/0.3362, allocations: 2.781 kB / 0.5826 GB, free: 25.82 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 5.084e-05/0.3362, allocations: 17.23 kB / 0.5826 GB, free: 25.81 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.806e-06/0.3362, allocations: 1.094 kB / 0.5826 GB, free: 25.81 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.3362, allocations: 0 / 0.5826 GB, free: 25.81 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.817e-06/0.3362, allocations: 0 / 0.5826 GB, free: 25.81 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.0002756/0.3365, allocations: 330.2 kB / 0.5829 GB, free: 25.45 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.023e-05/0.3365, allocations: 10.16 kB / 0.5829 GB, free: 25.45 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.198e-05/0.3366, allocations: 2.188 kB / 0.5829 GB, free: 25.45 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.302e-05/0.3367, allocations: 167.8 kB / 0.5831 GB, free: 25.25 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.136e-05/0.3367, allocations: 1.469 kB / 0.5831 GB, free: 25.25 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.368e-06/0.3367, allocations: 1.406 kB / 0.5831 GB, free: 25.25 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.344e-05/0.3368, allocations: 47.62 kB / 0.5831 GB, free: 25.21 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.604e-06/0.3368, allocations: 0 / 0.5831 GB, free: 25.21 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.782e-06/0.3368, allocations: 0 / 0.5831 GB, free: 25.21 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.074e-06/0.3368, allocations: 2.719 kB / 0.5831 GB, free: 25.21 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.638e-05/0.3368, allocations: 6.844 kB / 0.5831 GB, free: 25.2 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002204/0.3371, allocations: 247.6 kB / 0.5834 GB, free: 24.92 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.426e-05/0.3371, allocations: 27.98 kB / 0.5834 GB, free: 24.89 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.797e-05/0.3372, allocations: 10.61 kB / 0.5834 GB, free: 24.88 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.498e-06/0.3372, allocations: 4 kB / 0.5834 GB, free: 24.88 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.422e-05/0.3372, allocations: 37.33 kB / 0.5834 GB, free: 24.84 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 1.833e-06/0.3372, allocations: 0.625 kB / 0.5834 GB, free: 24.84 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.000124/0.3374, allocations: 39.83 kB / 0.5835 GB, free: 24.8 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.665e-05/0.3374, allocations: 55.34 kB / 0.5835 GB, free: 24.73 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.402e-05/0.3374, allocations: 100.3 kB / 0.5836 GB, free: 24.63 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.659e-06/0.3374, allocations: 25.7 kB / 0.5836 GB, free: 24.6 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.031e-05/0.3375, allocations: 90.89 kB / 0.5837 GB, free: 24.51 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.205e-05/0.3375, allocations: 4.938 kB / 0.5837 GB, free: 24.51 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.164e-05/0.3375, allocations: 11.91 kB / 0.5837 GB, free: 24.49 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.559e-05/0.3375, allocations: 321.1 kB / 0.584 GB, free: 24.17 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.025e-05/0.3376, allocations: 1.156 kB / 0.584 GB, free: 24.17 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.231e-06/0.3376, allocations: 4.875 kB / 0.5841 GB, free: 24.17 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.147e-05/0.3376, allocations: 21.94 kB / 0.5841 GB, free: 24.15 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.183e-06/0.3376, allocations: 0 / 0.5841 GB, free: 24.15 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.793e-05/0.3377, allocations: 39.67 kB / 0.5841 GB, free: 24.12 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.279e-05/0.3377, allocations: 8.25 kB / 0.5841 GB, free: 24.12 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.126e-06/0.3377, allocations: 0 / 0.5841 GB, free: 24.12 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.195e-05/0.3377, allocations: 1.125 kB / 0.5841 GB, free: 24.12 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.344e-05/0.3378, allocations: 6.094 kB / 0.5841 GB, free: 24.11 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.569e-06/0.3378, allocations: 2.5 kB / 0.5841 GB, free: 24.11 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.552e-05/0.3378, allocations: 0 / 0.5841 GB, free: 24.11 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.886e-06/0.3378, allocations: 1.375 kB / 0.5841 GB, free: 24.11 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.994e-05/0.3378, allocations: 116.2 kB / 0.5842 GB, free: 23.99 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.176e-05/0.3379, allocations: 1.469 kB / 0.5842 GB, free: 23.99 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.267e-05/0.3379, allocations: 4.281 kB / 0.5842 GB, free: 23.99 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.3379, allocations: 1.094 kB / 0.5842 GB, free: 23.99 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.865e-06/0.3379, allocations: 0 / 0.5842 GB, free: 23.99 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.853e-06/0.3379, allocations: 2.281 kB / 0.5842 GB, free: 23.99 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001022/0.338, allocations: 162.6 kB / 0.5844 GB, free: 23.79 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.338, allocations: 192 / 0.5844 GB, free: 23.79 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.669e-05/0.338, allocations: 2.375 kB / 0.5844 GB, free: 23.79 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.273e-06/0.338, allocations: 0 / 0.5844 GB, free: 23.79 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.652e-06/0.338, allocations: 9.078 kB / 0.5844 GB, free: 23.78 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.3381, allocations: 1.031 kB / 0.5844 GB, free: 23.78 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.3381, allocations: 1.094 kB / 0.5844 GB, free: 23.78 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.255e-05/0.3381, allocations: 150.3 kB / 0.5846 GB, free: 23.62 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.531e-05/0.3382, allocations: 78.33 kB / 0.5846 GB, free: 23.53 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.163e-05/0.3382, allocations: 0 / 0.5846 GB, free: 23.53 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.522e-05/0.3382, allocations: 2 kB / 0.5846 GB, free: 23.53 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.264e-05/0.3383, allocations: 5.094 kB / 0.5846 GB, free: 23.53 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.583e-06/0.3383, allocations: 1.188 kB / 0.5846 GB, free: 23.53 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.985e-05/0.3383, allocations: 83.45 kB / 0.5847 GB, free: 23.45 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3383, allocations: 0.625 kB / 0.5847 GB, free: 23.45 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002214/0.3385, allocations: 3.031 kB / 0.5847 GB, free: 23.45 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 8.106e-05/0.3386, allocations: 103.1 kB / 0.5848 GB, free: 23.36 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 6.362e-05/0.3387, allocations: 6.812 kB / 0.5848 GB, free: 23.36 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.734e-06/0.3387, allocations: 0 / 0.5848 GB, free: 23.36 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.054e-05/0.3387, allocations: 8.562 kB / 0.5848 GB, free: 23.36 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002025/0.3389, allocations: 9.094 kB / 0.5848 GB, free: 23.35 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002525/0.3392, allocations: 131.6 kB / 0.585 GB, free: 23.21 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.953e-05/0.3393, allocations: 0.6782 MB / 0.5856 GB, free: 22.5 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.551e-05/0.3393, allocations: 9.469 kB / 0.5856 GB, free: 22.5 MB / 446.1 MB Notification: Performance of SimCode: time 2.41e-07/0.3393, allocations: 1.125 kB / 0.5856 GB, free: 22.5 MB / 446.1 MB Notification: Performance of Templates: time 0.0014/0.3407, allocations: 429.8 kB / 0.5861 GB, free: 22.31 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.makefile (rm -f IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.sim & ./IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe 2>&1)