Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindSpeed.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.CheckWindSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindSpeed") translateModel(Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindSpeed") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006228/0.006228, allocations: 100.2 kB / 15.73 MB, free: 6.027 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.001393/0.001393, allocations: 186.9 kB / 16.67 MB, free: 5.965 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.683/1.683, allocations: 205.1 MB / 222.6 MB, free: 4.52 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.415/0.415, allocations: 54.95 MB / 324.8 MB, free: 15.99 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.001528/0.001528, allocations: 72.55 kB / 456.2 MB, free: 38.43 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1589/0.1604, allocations: 59.59 MB / 0.5037 GB, free: 9.883 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindSpeed): time 0.003244/0.1637, allocations: 1.569 MB / 0.5053 GB, free: 8.66 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00146/0.1652, allocations: 1.079 MB / 0.5063 GB, free: 7.816 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.253e-05/0.1653, allocations: 1.375 kB / 0.5063 GB, free: 7.816 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002422/0.1655, allocations: 15.98 kB / 0.5063 GB, free: 7.805 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.0002424/0.1658, allocations: 41.41 kB / 0.5064 GB, free: 7.773 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003542/0.1662, allocations: 108.5 kB / 0.5065 GB, free: 7.695 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002512/0.1664, allocations: 201.6 kB / 0.5067 GB, free: 7.578 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001119/0.1665, allocations: 20.22 kB / 0.5067 GB, free: 7.566 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.712e-05/0.1666, allocations: 70.08 kB / 0.5067 GB, free: 7.527 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001944/0.1668, allocations: 79.23 kB / 0.5068 GB, free: 7.477 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.447e-05/0.1669, allocations: 15.12 kB / 0.5068 GB, free: 7.477 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001695/0.167, allocations: 89.75 kB / 0.5069 GB, free: 7.441 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001034/0.1671, allocations: 72.53 kB / 0.507 GB, free: 7.398 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.65e-05/0.1673, allocations: 100.8 kB / 0.5071 GB, free: 7.32 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003448/0.1676, allocations: 268.5 kB / 0.5073 GB, free: 7.141 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.1676, allocations: 0 / 0.5073 GB, free: 7.141 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.625e-06/0.1676, allocations: 1.562 kB / 0.5073 GB, free: 7.141 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.458e-06/0.1676, allocations: 0 / 0.5073 GB, free: 7.141 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: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.0007126/0.1684, allocations: 0.5116 MB / 0.5078 GB, free: 6.648 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.678e-05/0.1684, allocations: 8.906 kB / 0.5079 GB, free: 6.648 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003193/0.1687, allocations: 46.16 kB / 0.5079 GB, free: 6.625 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002246/0.169, allocations: 257.8 kB / 0.5081 GB, free: 6.359 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.027e-05/0.169, allocations: 14.02 kB / 0.5082 GB, free: 6.352 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.961e-05/0.169, allocations: 13.28 kB / 0.5082 GB, free: 6.34 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000362/0.1694, allocations: 207.5 kB / 0.5084 GB, free: 6.125 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.496e-05/0.1694, allocations: 0 / 0.5084 GB, free: 6.125 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.22e-05/0.1695, allocations: 8 kB / 0.5084 GB, free: 6.117 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.608e-06/0.1695, allocations: 4 kB / 0.5084 GB, free: 6.113 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008248/0.1703, allocations: 0.749 MB / 0.5091 GB, free: 5.363 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008415/0.1712, allocations: 0.5511 MB / 0.5096 GB, free: 4.758 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005606/0.1717, allocations: 336.4 kB / 0.51 GB, free: 4.422 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000177/0.1719, allocations: 113.4 kB / 0.5101 GB, free: 4.309 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.537e-05/0.172, allocations: 16.25 kB / 0.5101 GB, free: 4.293 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004242/0.1724, allocations: 184.9 kB / 0.5103 GB, free: 4.102 MB / 382.1 MB Notification: Performance of pre-optimization done (n=34): time 1.703e-06/0.1724, allocations: 0 / 0.5103 GB, free: 4.102 MB / 382.1 MB Notification: Performance of matching and sorting (n=34): time 0.0007499/0.1732, allocations: 389.8 kB / 0.5106 GB, free: 3.715 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.297e-05/0.1732, allocations: 81.11 kB / 0.5107 GB, free: 3.617 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002058/0.1735, allocations: 287 kB / 0.511 GB, free: 3.324 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.41e-05/0.1735, allocations: 33.7 kB / 0.511 GB, free: 3.285 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.676e-05/0.1736, allocations: 128.6 kB / 0.5111 GB, free: 3.156 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.763e-05/0.1736, allocations: 110.5 kB / 0.5113 GB, free: 3.047 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.339e-05/0.1737, allocations: 57.7 kB / 0.5113 GB, free: 2.984 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.166e-05/0.1738, allocations: 334.8 kB / 0.5116 GB, free: 2.648 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001553/0.1739, allocations: 87.94 kB / 0.5117 GB, free: 2.562 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001882/0.1741, allocations: 117.7 kB / 0.5118 GB, free: 2.441 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003461/0.1745, allocations: 229.3 kB / 0.512 GB, free: 2.215 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.1745, allocations: 0 / 0.512 GB, free: 2.215 MB / 382.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.000419/0.1749, allocations: 285.1 kB / 0.5123 GB, free: 1.93 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.967e-05/0.175, allocations: 4 kB / 0.5123 GB, free: 1.926 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.175, allocations: 0 / 0.5123 GB, free: 1.926 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.997e-05/0.175, allocations: 3.938 kB / 0.5123 GB, free: 1.922 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002353/0.1752, allocations: 67.94 kB / 0.5124 GB, free: 1.855 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.053e-05/0.1753, allocations: 4 kB / 0.5124 GB, free: 1.852 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001016/0.1754, allocations: 23.73 kB / 0.5124 GB, free: 1.828 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.241e-05/0.1754, allocations: 16 kB / 0.5124 GB, free: 1.812 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: 3 (conTim.tStart,$PRE.conTim.tStart,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 35 * 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 0.0001629/0.1756, allocations: 161.7 kB / 0.5126 GB, free: 1.645 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.282e-05/0.1756, allocations: 23.72 kB / 0.5126 GB, free: 1.621 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.715e-05/0.1757, allocations: 34.66 kB / 0.5126 GB, free: 1.59 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.472e-06/0.1757, allocations: 7.938 kB / 0.5126 GB, free: 1.582 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.204e-05/0.1758, allocations: 7.969 kB / 0.5127 GB, free: 1.574 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.552e-06/0.1758, allocations: 0 / 0.5127 GB, free: 1.574 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002899/0.1761, allocations: 325.2 kB / 0.513 GB, free: 1.207 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.467e-06/0.1761, allocations: 3.984 kB / 0.513 GB, free: 1.203 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001916/0.1763, allocations: 63.91 kB / 0.513 GB, free: 1.141 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.285e-06/0.1763, allocations: 0 / 0.513 GB, free: 1.141 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.588e-05/0.1763, allocations: 16 kB / 0.513 GB, free: 1.125 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.1763, allocations: 3.938 kB / 0.513 GB, free: 1.121 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.1763, allocations: 0 / 0.513 GB, free: 1.121 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005143/0.1769, allocations: 324.7 kB / 0.5134 GB, free: 0.7852 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001059/0.177, allocations: 136.7 kB / 0.5135 GB, free: 0.6328 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.549e-05/0.177, allocations: 4 kB / 0.5135 GB, free: 0.6289 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.269e-05/0.1771, allocations: 15.94 kB / 0.5135 GB, free: 0.6133 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.277e-05/0.1772, allocations: 31.91 kB / 0.5135 GB, free: 0.582 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.067e-05/0.1772, allocations: 11.98 kB / 0.5135 GB, free: 0.5703 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001517/0.1774, allocations: 228.3 kB / 0.5138 GB, free: 356 kB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1774, allocations: 0 / 0.5138 GB, free: 356 kB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002819/0.1777, allocations: 56 kB / 0.5138 GB, free: 300 kB / 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: 2 ($whenCondition1,conTim.tStart) * Number of discrete states: 1 (conTim.tStart) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.000992/0.1787, allocations: 400.1 kB / 0.5142 GB, free: 44 kB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000572/0.1793, allocations: 247.8 kB / 0.5144 GB, free: 15.8 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.1793, allocations: 0 / 0.5144 GB, free: 15.8 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002439/0.1795, allocations: 132.4 kB / 0.5146 GB, free: 15.67 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002912/0.1798, allocations: 39.17 kB / 0.5146 GB, free: 15.63 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009782/0.1808, allocations: 0.4929 MB / 0.5151 GB, free: 15.12 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004052/0.1812, allocations: 0.7579 MB / 0.5158 GB, free: 14.32 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.000318/0.1816, allocations: 142.9 kB / 0.516 GB, free: 14.18 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.395e-05/0.1817, allocations: 39.42 kB / 0.516 GB, free: 14.14 MB / 398.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1817, allocations: 0 / 0.516 GB, free: 14.14 MB / 398.1 MB Notification: Performance of Templates: time 0.006804/0.1885, allocations: 2.637 MB / 0.5186 GB, free: 11.52 MB / 398.1 MB make -j1 -f Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindSpeed.makefile (rm -f Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindSpeed.pipe ; mkfifo Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindSpeed.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindSpeed.pipe >> ../files/Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindSpeed.sim & ./Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindSpeed -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindSpeed.pipe 2>&1)