Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime") translateModel(Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.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.001498/0.001498, allocations: 112.5 kB / 15.73 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001357/0.001357, allocations: 188.9 kB / 16.66 MB, free: 6.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.832/1.832, allocations: 205.1 MB / 222.5 MB, free: 4.531 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4141/0.4141, allocations: 54.94 MB / 324.8 MB, free: 15.9 MB / 270.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001437/0.001437, allocations: 67.59 kB / 456.2 MB, free: 38.13 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.149/0.1505, allocations: 59.58 MB / 0.5037 GB, free: 9.598 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime): time 0.002317/0.1529, allocations: 1.402 MB / 0.5051 GB, free: 8.5 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005892/0.1535, allocations: 417.6 kB / 0.5055 GB, free: 8.18 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.392e-05/0.1535, allocations: 0 / 0.5055 GB, free: 8.18 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 2.463e-05/0.1535, allocations: 0 / 0.5055 GB, free: 8.18 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 9.399e-05/0.1536, allocations: 5.469 kB / 0.5055 GB, free: 8.176 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.446e-05/0.1537, allocations: 4 kB / 0.5055 GB, free: 8.172 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 6.158e-05/0.1537, allocations: 19.7 kB / 0.5055 GB, free: 8.16 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001111/0.1539, allocations: 3.531 kB / 0.5055 GB, free: 8.16 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001569/0.154, allocations: 12.58 kB / 0.5055 GB, free: 8.152 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.518e-05/0.1541, allocations: 10.08 kB / 0.5055 GB, free: 8.145 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.28e-05/0.1541, allocations: 5.656 kB / 0.5055 GB, free: 8.141 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.686e-06/0.1541, allocations: 1.562 kB / 0.5055 GB, free: 8.141 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.325e-05/0.1541, allocations: 3.938 kB / 0.5055 GB, free: 8.137 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.348e-05/0.1542, allocations: 10.44 kB / 0.5055 GB, free: 8.129 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 7.164e-05/0.1542, allocations: 16.8 kB / 0.5056 GB, free: 8.117 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.1542, allocations: 0 / 0.5056 GB, free: 8.117 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1542, allocations: 5.344 kB / 0.5056 GB, free: 8.113 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.94e-06/0.1543, allocations: 0 / 0.5056 GB, free: 8.113 MB / 382.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.0003178/0.1546, allocations: 322.4 kB / 0.5059 GB, free: 7.758 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.947e-05/0.1546, allocations: 14 kB / 0.5059 GB, free: 7.754 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.289e-05/0.1547, allocations: 6.094 kB / 0.5059 GB, free: 7.75 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.457e-05/0.1548, allocations: 169.6 kB / 0.5061 GB, free: 7.547 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.989e-06/0.1548, allocations: 1.469 kB / 0.5061 GB, free: 7.547 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.406e-06/0.1548, allocations: 9.375 kB / 0.5061 GB, free: 7.539 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.798e-05/0.1549, allocations: 33.61 kB / 0.5061 GB, free: 7.504 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.736e-06/0.1549, allocations: 0 / 0.5061 GB, free: 7.504 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.637e-06/0.1549, allocations: 1.531 kB / 0.5061 GB, free: 7.504 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.1549, allocations: 0 / 0.5061 GB, free: 7.504 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.238e-05/0.1549, allocations: 10.89 kB / 0.5061 GB, free: 7.496 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002574/0.1552, allocations: 249.8 kB / 0.5063 GB, free: 7.211 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.756e-05/0.1553, allocations: 23.08 kB / 0.5064 GB, free: 7.184 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.941e-05/0.1553, allocations: 14.58 kB / 0.5064 GB, free: 7.172 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.923e-06/0.1553, allocations: 0 / 0.5064 GB, free: 7.172 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.537e-05/0.1553, allocations: 31.88 kB / 0.5064 GB, free: 7.133 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.1553, allocations: 7.938 kB / 0.5064 GB, free: 7.125 MB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001406/0.1555, allocations: 39.92 kB / 0.5065 GB, free: 7.09 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.736e-05/0.1555, allocations: 51.41 kB / 0.5065 GB, free: 7.027 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.103e-05/0.1556, allocations: 106.2 kB / 0.5066 GB, free: 6.918 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.582e-06/0.1556, allocations: 26.86 kB / 0.5066 GB, free: 6.887 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.72e-05/0.1556, allocations: 81.33 kB / 0.5067 GB, free: 6.805 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.487e-05/0.1557, allocations: 9.109 kB / 0.5067 GB, free: 6.797 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.259e-05/0.1557, allocations: 14.91 kB / 0.5067 GB, free: 6.777 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.145e-05/0.1557, allocations: 324.3 kB / 0.507 GB, free: 6.453 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.211e-05/0.1558, allocations: 1.625 kB / 0.507 GB, free: 6.453 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.787e-06/0.1558, allocations: 6.469 kB / 0.5071 GB, free: 6.449 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.359e-05/0.1558, allocations: 13.3 kB / 0.5071 GB, free: 6.438 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.1558, allocations: 1.375 kB / 0.5071 GB, free: 6.438 MB / 382.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.031e-05/0.1559, allocations: 37.89 kB / 0.5071 GB, free: 6.402 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.354e-05/0.1559, allocations: 5.312 kB / 0.5071 GB, free: 6.402 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.1559, allocations: 3.984 kB / 0.5071 GB, free: 6.398 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.487e-05/0.1559, allocations: 8.094 kB / 0.5071 GB, free: 6.391 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.126e-05/0.156, allocations: 4.125 kB / 0.5071 GB, free: 6.391 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.156, allocations: 3.938 kB / 0.5071 GB, free: 6.387 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.622e-05/0.156, allocations: 0 / 0.5071 GB, free: 6.387 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.628e-06/0.156, allocations: 1.375 kB / 0.5071 GB, free: 6.387 MB / 382.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 4.474e-05/0.1561, allocations: 115.2 kB / 0.5072 GB, free: 6.266 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.255e-05/0.1561, allocations: 5.328 kB / 0.5072 GB, free: 6.262 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.731e-05/0.1561, allocations: 3.125 kB / 0.5072 GB, free: 6.258 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.193e-06/0.1561, allocations: 1.375 kB / 0.5072 GB, free: 6.258 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.1561, allocations: 4 kB / 0.5073 GB, free: 6.254 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.908e-06/0.1561, allocations: 0 / 0.5073 GB, free: 6.254 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001204/0.1562, allocations: 161.7 kB / 0.5074 GB, free: 6.051 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.1563, allocations: 0 / 0.5074 GB, free: 6.051 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.624e-05/0.1563, allocations: 6.734 kB / 0.5074 GB, free: 6.047 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.153e-06/0.1563, allocations: 1.375 kB / 0.5074 GB, free: 6.047 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.691e-06/0.1563, allocations: 3.938 kB / 0.5074 GB, free: 6.043 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.1563, allocations: 0 / 0.5074 GB, free: 6.043 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.1563, allocations: 1.375 kB / 0.5074 GB, free: 6.043 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.617e-05/0.1564, allocations: 137.1 kB / 0.5075 GB, free: 5.902 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.245e-05/0.1564, allocations: 81.09 kB / 0.5076 GB, free: 5.805 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.151e-05/0.1564, allocations: 1.375 kB / 0.5076 GB, free: 5.805 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.953e-05/0.1565, allocations: 0 / 0.5076 GB, free: 5.805 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.354e-05/0.1565, allocations: 1.375 kB / 0.5076 GB, free: 5.805 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.503e-06/0.1565, allocations: 0 / 0.5076 GB, free: 5.805 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.884e-05/0.1565, allocations: 83.41 kB / 0.5077 GB, free: 5.727 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1565, allocations: 0 / 0.5077 GB, free: 5.727 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002412/0.1568, allocations: 10.72 kB / 0.5077 GB, free: 5.719 MB / 382.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 0.0001018/0.1569, allocations: 102.6 kB / 0.5078 GB, free: 5.625 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 7.865e-05/0.157, allocations: 14.86 kB / 0.5078 GB, free: 5.617 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.157, allocations: 0 / 0.5078 GB, free: 5.617 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.467e-06/0.157, allocations: 4.125 kB / 0.5078 GB, free: 5.617 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002088/0.1572, allocations: 5.312 kB / 0.5078 GB, free: 5.613 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000238/0.1575, allocations: 112 kB / 0.5079 GB, free: 5.492 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001122/0.1576, allocations: 0.6716 MB / 0.5086 GB, free: 4.797 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 1.912e-05/0.1576, allocations: 9.297 kB / 0.5086 GB, free: 4.789 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.976e-05/0.1576, allocations: 8.812 kB / 0.5086 GB, free: 4.781 MB / 382.1 MB Notification: Performance of SimCode: time 1.002e-06/0.1576, allocations: 0 / 0.5086 GB, free: 4.781 MB / 382.1 MB Notification: Performance of Templates: time 0.001848/0.1595, allocations: 237.7 kB / 0.5088 GB, free: 4.656 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.makefile (rm -f Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; mkfifo Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe >> ../files/Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.sim & ./Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe 2>&1)